wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_image_maybe_exif_rotate › Les Filtres WordPress

Depuis5.3.0
Dépréciéen/a
apply_filters( 'wp_image_maybe_exif_rotate', $orientation, $this->file )
Paramètres: (2)
  • (int) $orientation EXIF Orientation value as retrieved from the image file.
    Requis: Oui
  • (string) $file Path to the image file.
    Requis: Oui
Défini(e) dans:
Codex:

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





Source

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