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.
$strip_metabool
if ( apply_filters( 'image_strip_meta', $strip_meta ) ) {
| Version | Description |
|---|---|
| 4.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/image_strip_meta