woocommerce_report_categories_export_columns
Filter to add or remove column names from the categories report for export.
Usage
add_filter( 'woocommerce_report_categories_export_columns', 'wp_kama_woocommerce_report_categories_export_columns_filter' ); /** * Function for `woocommerce_report_categories_export_columns` filter-hook. * * @param $export_columns * * @return */ function wp_kama_woocommerce_report_categories_export_columns_filter( $export_columns ){ // filter... return $export_columns; }
- $export_columns
- -
Changelog
Since 1.6.0 | Introduced. |
Where the hook is called
woocommerce_report_categories_export_columns
woocommerce/src/Admin/API/Reports/Categories/Controller.php 328-331
return apply_filters( 'woocommerce_report_categories_export_columns', $export_columns );