image_strip_meta, true

image_strip_meta, true

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: gutenberg.23.6.2

apply_filters('image_strip_meta, true') is found 1 times:

  • /lib/media/load.php line 176
    	/** This filter is documented in wp-admin/includes/image.php */
    	$image_size_threshold = (int) apply_filters( 'big_image_size_threshold', 2560, array( 0, 0 ), '', 0 ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound
    
    	/** This filter is documented in wp-includes/class-wp-image-editor-imagick.php */
    	$image_strip_meta = (bool) apply_filters( 'image_strip_meta', true ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound
    
    	/*
    	 * On the server, this filter receives the decoded image's actual bit depth.
    	 * The client path never decodes the image on the server, so the filter is
    	 * applied with 16 (the maximum depth vips can produce) as both the value
    	 * and the current depth. The client caps its output bit depth at the