image_strip_meta

image_strip_meta

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-5.4.1

apply_filters('image_strip_meta') is found 1 times:

  • /wp-includes/class-wp-image-editor-imagick.php line 328
    		 * @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