woocommerce_report_orders_prepare_export_item filter-hook . WC 1.6.0
Filter to prepare extra columns in the export item for the orders report.
Usage
add_filter( 'woocommerce_report_orders_prepare_export_item', 'filter_function_name_9413', 10, 2 ); function filter_function_name_9413( $export_item, $item ){ // filter... return $export_item; }
- $export_item
- -
- $item
- -
Changelog
Since 1.6.0 | Introduced. |
Where the hook is called
woocommerce/packages/woocommerce-admin/src/API/Reports/Orders/Controller.php 562-566
return apply_filters( 'woocommerce_report_orders_prepare_export_item', $export_item, $item );