WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_image_maybe_exif_rotate

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/class-wp-image-editor.php apply_filters 506 /**
* Filters the `$orientation` value to correct it before rotating or to prevent rotating the image.
*
* @since 5.3.0
*
* @param int $orientation EXIF Orientation value as retrieved from the image file.
* @param string $file Path to the image file.
*/

Hook Parameters

Parameter Type Name Description
int $orientation EXIF Orientation value as retrieved from the image file.
string $file Path to the image file.