WC_Product_Download::get_allowed_mime_types()publicWC 1.0

Get allowed mime types.

Метод класса: WC_Product_Download{}

Возвращает

Массив.

Использование

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

Код WC_Product_Download::get_allowed_mime_types() WC 8.7.0

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