Switch to use v3 of the API for network orders.
This commit is contained in:
parent
a7463c5535
commit
6220399163
|
@ -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' ),
|
||||
)
|
||||
);
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue