wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_image_maybe_exif_rotate › WordPress Filter Hooks

Seit5.3.0
Veraltetn/v
apply_filters( 'wp_image_maybe_exif_rotate', $orientation, $this->file )
Parameter: (2)
  • (int) $orientation EXIF Orientation value as retrieved from the image file.
    Erforderlich: Ja
  • (string) $file Path to the image file.
    Erforderlich: Ja
Definiert in:
Codex:

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





Quellcode

$orientation = apply_filters( 'wp_image_maybe_exif_rotate', $orientation, $this->file );