NetworkOrders

This commit is contained in:
Mike Jolley 2019-05-30 15:55:11 +01:00
parent 2b343e8a67
commit f1186eaae1
1 changed files with 3 additions and 12 deletions

View File

@ -5,25 +5,16 @@
* Handles requests to the /orders/network endpoint
*
* @package WooCommerce/RestApi
* @since 3.4.0
*/
namespace WooCommerce\RestApi\Version4\Controllers;
defined( 'ABSPATH' ) || exit;
/**
* REST API Network Orders controller class.
*
* @package WooCommerce/RestApi
* @extends WC_REST_Orders_V2_Controller
*/
class WC_REST_Network_Orders_V2_Controller extends WC_REST_Orders_V2_Controller {
/**
* Endpoint namespace.
*
* @var string
*/
protected $namespace = 'wc/v2';
class NetworkOrders extends Orders {
/**
* Register the routes for network orders.