wpseek.com
A WordPress-centric search engine for devs and theme authors



image_strip_meta › WordPress Filter Hooks

Since4.5.0
Deprecatedn/a
apply_filters( 'image_strip_meta', $strip_meta )
Parameters:
  • (bool) $strip_meta Whether to strip image metadata during resizing. Default true.
    Required: Yes
Defined at:
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.





Source

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