Description
Filters the `$orientation` value to correct it before rotating or to prevent rotating the image.
Occurrences
Filename | Line Number |
---|---|
wp-includes/class-wp-image-editor.php | 520 |
Parameters
Type | Name | Description |
---|---|---|
int | $orientation | EXIF Orientation value as retrieved from the image file. |
string | $file | Path to the image file. |
PHP Doc
/**
* 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.
*/