apply_filters( 'wp_get_original_image_url', string $original_image_url, int $attachment_id )

Filters the URL to the original attachment image.

Parameters

$original_image_url

(string) URL to original image.

$attachment_id

(int) Attachment ID.

Source

File: wp-includes/post.php

View on Trac

Changelog

Version Description
5.3.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_get_original_image_url