Advertisement

Summery Summery

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

Syntax Syntax

apply_filters( 'image_strip_meta', bool $strip_meta )

Description Description

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

Parameters Parameters

$strip_meta

(bool) Whether to strip image metadata during resizing. Default true.

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
4.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.