wp_read_image_metadata

wp_read_image_metadata

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

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('wp_read_image_metadata') is found 1 times:

  • /wp-admin/includes/image.php line 1040
    	 * @param int    $image_type Type of image, one of the `IMAGETYPE_XXX` constants.
    	 * @param array  $iptc       IPTC data.
    	 * @param array  $exif       EXIF data.
    	 */
    	return apply_filters( 'wp_read_image_metadata', $meta, $file, $image_type, $iptc, $exif );
    }
    
    /**
     * Validates that file is an image.
     *
     * @since 2.5.0