Filters the path to the original image.
$original_imagestring$attachment_idintwp-includes/post.php:8483wp_get_original_image_path() * * @since 5.3.0 * * @param string $original_image Path to original image file. * @param int $attachment_id Attachment ID. */ return apply_filters( 'wp_get_original_image_path', $original_image, $attachment_id );} /** * Retrieves the URL to an original attachment image. * * Similar to `wp_get_attachment_url()` however some images may have beenIntroduced in 5.3.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.