Filters the $orientation value to correct it before rotating or to prevent rotating the image.
$orientationint
$filestring
$orientation = apply_filters( 'wp_image_maybe_exif_rotate', $orientation, $this->file );
| Version | Description |
|---|---|
| 5.3.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_image_maybe_exif_rotate