Description
apply_filters( 'wcv_order_export_csv_rows', $csv_output->format_orders_export( WCVendors_Pro_Vendor_Controller::get_orders2( get_current_user_id(), $date_range ) ) )
Parameters (1) (array)
Usage Examples
To run the filter, copy this sample
$array_val = apply_filters( 'wcv_order_export_csv_rows', array( $data ) ); if ( ! empty( $array_val ) ) { // what has been modified... }
To make a callback function, copy this sample
// the filter wcv_order_export_csv_rows callback function my_filter_function( $param ) { // do your thing here :-) ... return $array_val; } add_filter( 'wcv_order_export_csv_rows', 'my_filter_function', 10, 1 );
To remove the filter, copy this sample
//remove the filter remove_filter( 'wcv_order_export_csv_rows', 'my_filter_function', 10, 1 );
Defined
This filter is defined in the following source file(s)
- wcvendors-pro/public/class-wcvendors-pro-order-controller.php line 882
$csv_rows = apply_filters( 'wcv_order_export_csv_rows', $csv_output->format_orders_export( WCVendors_Pro_Vendor_Controller::get_orders2( get_current_user_id(), $date_range ) ) );