apply_filters( ‘wp_get_original_image_path’, string $original_image, int $attachment_id )

In this article

Filters the path to the original image.

Parameters

$original_imagestring
Path to original image file.
$attachment_idint
Attachment ID.

Source

return apply_filters( 'wp_get_original_image_path', $original_image, $attachment_id );

Changelog

VersionDescription
5.3.0Introduced.

User Contributed Notes

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