2016-03-30 17:29:57 +00:00
|
|
|
<?php
|
|
|
|
/**
|
2017-02-11 14:51:13 +00:00
|
|
|
* REST API Settings controller
|
|
|
|
*
|
|
|
|
* Handles requests to the /settings endpoints.
|
2016-03-30 17:29:57 +00:00
|
|
|
*
|
2018-03-06 18:04:58 +00:00
|
|
|
* @package WooCommerce/API
|
|
|
|
* @since 3.0.0
|
2016-03-30 17:29:57 +00:00
|
|
|
*/
|
2017-02-11 14:51:13 +00:00
|
|
|
|
2018-03-06 18:04:58 +00:00
|
|
|
defined( 'ABSPATH' ) || exit;
|
2017-02-11 14:51:13 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* REST API Settings controller class.
|
|
|
|
*
|
|
|
|
* @package WooCommerce/API
|
2018-05-17 10:44:46 +00:00
|
|
|
* @extends WC_REST_Settings_V2_Controller
|
2017-02-11 14:51:13 +00:00
|
|
|
*/
|
2018-05-17 10:44:46 +00:00
|
|
|
class WC_REST_Settings_Controller extends WC_REST_Settings_V2_Controller {
|
2016-03-30 17:29:57 +00:00
|
|
|
|
2016-04-04 17:34:14 +00:00
|
|
|
/**
|
2018-05-17 10:44:46 +00:00
|
|
|
* Endpoint namespace.
|
2018-03-06 18:04:58 +00:00
|
|
|
*
|
|
|
|
* @var string
|
2016-04-04 17:34:14 +00:00
|
|
|
*/
|
2018-05-17 10:44:46 +00:00
|
|
|
protected $namespace = 'wc/v3';
|
2016-03-30 17:29:57 +00:00
|
|
|
}
|