WordPress at a glance
filter is not described

woocommerce_rest_allowed_image_mime_types filter-hook . WC 2.6.4

Returns image mime types users are allowed to upload via the API.

Usage

add_filter( 'woocommerce_rest_allowed_image_mime_types', 'filter_function_name_5262' );
function filter_function_name_5262( $array ){
	// filter...

	return $array;
}
$array
-

Changelog

Since 2.6.4 Introduced.

Where the hook is called

wc_rest_allowed_image_mime_types()
woocommerce_rest_allowed_image_mime_types
woocommerce/includes/wc-rest-functions.php 48-57
return apply_filters(
	'woocommerce_rest_allowed_image_mime_types', array(
		'jpg|jpeg|jpe' => 'image/jpeg',
		'gif'          => 'image/gif',
		'png'          => 'image/png',
		'bmp'          => 'image/bmp',
		'tiff|tif'     => 'image/tiff',
		'ico'          => 'image/x-icon',
	)
);

Where the hook is used (in WC core)

Usage not found!