Used By
Used By | Description |
---|---|
wp-includes/class-wp-image-editor.php: WP_Image_Editor::maybe_exif_rotate() | Check if a JPEG image has EXIF Orientation tag and rotate it if needed. |
Filters the $orientation
value to correct it before rotating or to prevemnt rotating the image.
(int) EXIF Orientation value as retrieved from the image file.
(string) Path to the image file.
Version | Description |
---|---|
5.3.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_image_maybe_exif_rotate