wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_image_maybe_exif_rotate › Filtr WordPress Hooks

Od5.3.0
Przestarzałyn/a
apply_filters( 'wp_image_maybe_exif_rotate', $orientation, $this->file )
Parametry: (2)
  • (int) $orientation EXIF Orientation value as retrieved from the image file.
    Wymagane: Tak
  • (string) $file Path to the image file.
    Wymagane: Tak
Zdefiniowane na:
Codex:

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





Źródło

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