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



image_strip_meta › WordPress Filter Hooks

Seit4.5.0
Veraltetn/v
apply_filters( 'image_strip_meta', $strip_meta )
Parameter:
  • (bool) $strip_meta Whether to strip image metadata during resizing. Default true.
    Erforderlich: Ja
Definiert in:
Codex:

Filters whether to strip metadata from images when they're resized.

This filter only applies when resizing using the Imagick editor since GD always strips profiles by default.





Quellcode

if ( apply_filters( 'image_strip_meta', $strip_meta ) ) {