wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_image_maybe_exif_rotate › Hooks de Filtros WordPress

Desde5.3.0
Obsoleton/a
apply_filters( 'wp_image_maybe_exif_rotate', $orientation, $this->file )
Parâmetros: (2)
  • (int) $orientation EXIF Orientation value as retrieved from the image file.
    Required: Yes
  • (string) $file Path to the image file.
    Required: Yes
Definido em:
Codex:

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





Fonte

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