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