On this page
apply_filters( 'wp_get_original_image_path', string $original_image, int $attachment_id )
Filters the path to the original image.
Parameters
$original_imagestring-
Path to original image file.
$attachment_idint-
Attachment ID.
Source
File: wp-includes/post.php. View all references
return apply_filters( 'wp_get_original_image_path', $original_image, $attachment_id );
Related
Used By
| Used By | Description |
|---|---|
| wp_get_original_image_path() wp-includes/post.php | Retrieves the path to an uploaded image file. |
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_path