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

Whether to strip image metadata during resizing. Default true.


Source

File: wp-includes/class-wp-image-editor-imagick.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.5.0 Introduced.