apply_filters( 'wp_image_maybe_exif_rotate', int $orientation, string $file )

Filters the $orientation value to correct it before rotating or to prevemnt rotating the image.


Description Description


Parameters Parameters

$orientation

(int) EXIF Orientation value as retrieved from the image file.

$file

(string) Path to the image file.


Top ↑

Source Source

File: wp-includes/class-wp-image-editor.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
5.3.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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