WordPress at Your Fingertips
function is not described

WC_REST_Network_Orders_V2_Controller::network_orders_filter_args() public WC 1.0

Filters the post statuses to on hold and processing for the network order query.

{} It's a method of the class: WC_REST_Network_Orders_V2_Controller{}

No Hooks.

Return

Array.

Usage

$WC_REST_Network_Orders_V2_Controller = new WC_REST_Network_Orders_V2_Controller();
$WC_REST_Network_Orders_V2_Controller->network_orders_filter_args( $args );
$args(array) (required)
Query args.

Code of WC_REST_Network_Orders_V2_Controller::network_orders_filter_args() WC 5.9.0

public function network_orders_filter_args( $args ) {
	$args['post_status'] = array(
		'wc-on-hold',
		'wc-processing',
	);

	return $args;
}