On this page
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_urlstring-
URL to original image.
$attachment_idint-
Attachment ID.
Source
File: wp-includes/post.php. View all references
return apply_filters( 'wp_get_original_image_url', $original_image_url, $attachment_id );
Related
Used By
| Used By | Description |
|---|---|
| wp_get_original_image_url() wp-includes/post.php | Retrieves the URL to an original attachment image. |
Changelog
| Version | Description |
|---|---|
| 5.3.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_get_original_image_url