woocommerce_report_categories_prepare_export_item хук-фильтр . WC 1.6.0
Filter to prepare extra columns in the export item for the categories export.
Использование
add_filter( 'woocommerce_report_categories_prepare_export_item', 'filter_function_name_8433', 10, 2 ); function filter_function_name_8433( $export_item, $item ){ // filter... return $export_item; }
- $export_item
- -
- $item
- -
Список изменений
С версии 1.6.0 | Введена. |
Где вызывается хук
woocommerce/packages/woocommerce-admin/src/API/Reports/Categories/Controller.php 369-373
return apply_filters( 'woocommerce_report_categories_prepare_export_item', $export_item, $item );