WC_Product_Download::get_allowed_mime_types
Get allowed mime types.
Метод класса: WC_Product_Download{}
Хуки из метода
Возвращает
array.
Использование
$WC_Product_Download = new WC_Product_Download(); $WC_Product_Download->get_allowed_mime_types();
Код WC_Product_Download::get_allowed_mime_types() WC Product Download::get allowed mime types WC 11.3.0
public function get_allowed_mime_types() {
return apply_filters( 'woocommerce_downloadable_file_allowed_mime_types', get_allowed_mime_types() );
}