Filter hook 'image_strip_meta'

in WP Core File wp-includes/class-wp-image-editor-imagick.php at line 422

Description

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.

Occurrences

Filename Line Number
wp-includes/class-wp-image-editor-imagick.php 422

Parameters

Type Name Description
bool $strip_meta Whether to strip image metadata during resizing. Default true.

PHP Doc

/**
		 * 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.
		 *
		 * @since 4.5.0
		 *
		 * @param bool $strip_meta Whether to strip image metadata during resizing. Default true.
		 */