woocommerce_(export_type)_export_column_names хук-фильтр . WC 3.1.0
Return an array of supported column names and ids.
Использование
add_filter( 'woocommerce_(export_type)_export_column_names', 'filter_function_name_776', 10, 2 ); function filter_function_name_776( $column_names, $that ){ // filter... return $column_names; }
- $column_names
- -
- $that
- -
Список изменений
С версии 3.1.0 | Введена. |
Где вызывается хук
woocommerce_(export_type)_export_column_names
woocommerce/includes/export/abstract-wc-csv-exporter.php 93
return apply_filters( "woocommerce_{$this->export_type}_export_column_names", $this->column_names, $this );