image_strip_meta

image_strip_meta

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('image_strip_meta') is found 1 times:

  • /wp-includes/class-wp-image-editor-imagick.php line 411
    		 * @since 4.5.0
    		 *
    		 * @param bool $strip_meta Whether to strip image metadata during resizing. Default true.
    		 */
    		if ( apply_filters( 'image_strip_meta', $strip_meta ) ) {
    			$this->strip_meta(); // Fail silently if not supported.
    		}
    
    		try {
    			/*
    			 * To be more efficient, resample large images to 5x the destination size before resizing