Advanced Options for WooCommerce

How to display the amount of products items in on-hold orders instead of in proccessing orders?

add_filter( 'aow_orders', 'aow_order_status' );
function aow_order_status( $args ) {
	$args['status'] = 'on-hold';
	return $args;
}

Leave a Reply

Your email address will not be published. Required fields are marked *