diff --git src/wp-includes/media.php src/wp-includes/media.php
index 002581e174..ed2b9b285f 100644
--- src/wp-includes/media.php
+++ src/wp-includes/media.php
@@ -4386,3 +4386,39 @@ function _wp_add_additional_image_sizes() {
 	// 2x large size
 	add_image_size( '2048x2048', 2048, 2048 );
 }
+
+/**
+ * Retrieves the URL for an original image.
+ *
+ * WordPress Big Image processing will limit the scale of a large image by default. This function returns the absolute
+ * original image, not the scaled one.
+ *
+ * @since 5.3.0
+ *
+ * @param int $attachment_id Attachment ID.
+ * @return string|false Path to the original image file or false if the attachment is not an image.
+ */
+function wp_get_attachment_original_image_url( $attachment_id ) {
+	if ( ! wp_attachment_is_image( $attachment_id ) ) {
+		return false;
+	}
+
+	$image_meta = wp_get_attachment_metadata( $attachment_id );
+	$image_file = wp_get_attachment_image_url( $attachment_id, 'full' );
+
+	if ( empty( $image_meta['original_image'] ) ) {
+		$original_image = $image_file;
+	} else {
+		$original_image = path_join( dirname( $image_file ), $image_meta['original_image'] );
+	}
+
+	/**
+	 * Filters the URL to the original image.
+	 *
+	 * @since 5.3.0
+	 *
+	 * @param string $original_image URL to original image file.
+	 * @param int    $attachment_id  Attachment ID.
+	 */
+	return apply_filters( 'wp_get_attachment_original_url', $original_image, $attachment_id );
+}
