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



wp_image_maybe_exif_rotate ›

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 prevemnt rotating the image.





Quellcode

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