WordPress at Your Fingertips
function is not described

WC_Product_Download::get_allowed_mime_types() public WC 1.0

Get allowed mime types.

{} It's a method of the class: WC_Product_Download{}

Return

Array.

Usage

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

Code of WC_Product_Download::get_allowed_mime_types() WC 5.6.0

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