Switch to use v3 of the API for network orders.

This commit is contained in:
Gerhard 2019-01-14 09:15:20 +02:00
parent a7463c5535
commit 6220399163
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,7 @@ if ( ! class_exists( 'WC_Admin_Dashboard', false ) ) :
'wc-network-orders', 'woocommerce_network_orders', array(
'nonce' => wp_create_nonce( 'wp_rest' ),
'sites' => array_values( $blog_ids ),
'order_endpoint' => get_rest_url( null, 'wc/v2/orders/network' ),
'order_endpoint' => get_rest_url( null, 'wc/v3/orders/network' ),
)
);
?>