apply_filters( ‘wp_get_original_image_url’, string $original_image_url, int $attachment_id )

In this article

Filters the URL to the original attachment image.

Parameters

$original_image_urlstring
URL to original image.
$attachment_idint
Attachment ID.

Source

return apply_filters( 'wp_get_original_image_url', $original_image_url, $attachment_id );

Changelog

VersionDescription
5.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.