woocommerce_(export_type)_export_rows
Usage
add_filter( 'woocommerce_(export_type)_export_rows', 'wp_kama_woocommerce_export_type_rows_filter', 10, 2 ); /** * Function for `woocommerce_(export_type)_export_rows` filter-hook. * * @param $ob_get_clean * @param $that * * @return */ function wp_kama_woocommerce_export_type_rows_filter( $ob_get_clean, $that ){ // filter... return $ob_get_clean; }
- $ob_get_clean
- -
- $that
- -
Where the hook is called
woocommerce_(export_type)_export_rows
woocommerce/includes/export/abstract-wc-csv-exporter.php 293
return apply_filters( "woocommerce_{$this->export_type}_export_rows", ob_get_clean(), $this );