apply_filters( 'wp_get_original_image_path', string $original_image , int $attachment_id )
Filters the path to the original image.
Parameters
-
$original_image
string -
Path to original image file.
-
$attachment_id
int -
Attachment ID.
Source
File: wp-includes/post.php
.
View all references
return apply_filters( 'wp_get_original_image_path', $original_image, $attachment_id );
Changelog
Version | Description |
---|---|
5.3.0 | Introduced. |