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.


Top ↑

Parameters

$strip_meta

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


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.