WC_Product_Download::get_allowed_mime_typespublicWC 1.0

Get allowed mime types.

Method of the class: WC_Product_Download{}

Returns

Array.

Usage

$WC_Product_Download = new WC_Product_Download();
$WC_Product_Download->get_allowed_mime_types();

WC_Product_Download::get_allowed_mime_types() code WC 10.6.2

public function get_allowed_mime_types() {
	return apply_filters( 'woocommerce_downloadable_file_allowed_mime_types', get_allowed_mime_types() );
}