28 lines
513 B
PHP
28 lines
513 B
PHP
|
<?php
|
||
|
/**
|
||
|
* REST API WC Shipping Methods controller
|
||
|
*
|
||
|
* Handles requests to the /shipping_methods endpoint.
|
||
|
*
|
||
|
* @package WooCommerce\RestApi
|
||
|
* @since 3.0.0
|
||
|
*/
|
||
|
|
||
|
defined( 'ABSPATH' ) || exit;
|
||
|
|
||
|
/**
|
||
|
* Shipping methods controller class.
|
||
|
*
|
||
|
* @package WooCommerce\RestApi
|
||
|
* @extends WC_REST_Shipping_Methods_V2_Controller
|
||
|
*/
|
||
|
class WC_REST_Shipping_Methods_Controller extends WC_REST_Shipping_Methods_V2_Controller {
|
||
|
|
||
|
/**
|
||
|
* Endpoint namespace.
|
||
|
*
|
||
|
* @var string
|
||
|
*/
|
||
|
protected $namespace = 'wc/v3';
|
||
|
}
|