image_strip_meta WordPress Filter Hook
This hook is used to add additional information to an image strip. The information is added as a meta tag to the image strip.
apply_filters( 'image_strip_meta', bool $strip_meta ) #
Filters whether to strip metadata from images when they’re resized.
Description
This filter only applies when resizing using the Imagick editor since GD always strips profiles by default.
Parameters
- $strip_meta
(bool)Whether to strip image metadata during resizing. Default true.
Source
Changelog
Version | Description |
---|---|
4.5.0 | Introduced. |