WC_Product_CSV_Importer_Controller::get_valid_csv_filetypes()
Get all the valid filetypes for a CSV file.
Метод класса: WC_Product_CSV_Importer_Controller{}
Хуки из метода
Возвращает
Массив
.
Использование
$result = WC_Product_CSV_Importer_Controller::get_valid_csv_filetypes();
Код WC_Product_CSV_Importer_Controller::get_valid_csv_filetypes() WC Product CSV Importer Controller::get valid csv filetypes WC 9.7.1
protected static function get_valid_csv_filetypes() { return apply_filters( 'woocommerce_csv_product_import_valid_filetypes', array( 'csv' => 'text/csv', 'txt' => 'text/plain', ) ); }