WC_Product_Download::get_allowed_mime_types()publicWC 1.0

Get allowed mime types.

Method of the class: WC_Product_Download{}

Return

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 8.7.0

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