WC_Product_CSV_Exporter::set_product_types_to_export
Product types to export.
Метод класса: WC_Product_CSV_Exporter{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$WC_Product_CSV_Exporter = new WC_Product_CSV_Exporter(); $WC_Product_CSV_Exporter->set_product_types_to_export( $product_types_to_export );
- $product_types_to_export(массив) (обязательный)
- List of types to export.
Список изменений
| С версии 3.1.0 | Введена. |
Код WC_Product_CSV_Exporter::set_product_types_to_export() WC Product CSV Exporter::set product types to export WC 10.7.0
public function set_product_types_to_export( $product_types_to_export ) {
$this->product_types_to_export = array_map( 'wc_clean', $product_types_to_export );
}