39 lines
561 B
PHP
39 lines
561 B
PHP
<?php
|
|
/**
|
|
* REST API Taxes controller
|
|
*
|
|
* Handles requests to the /taxes endpoint.
|
|
*
|
|
* @author WooThemes
|
|
* @category API
|
|
* @package WooCommerce/API
|
|
* @since 2.6.0
|
|
*/
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit;
|
|
}
|
|
|
|
/**
|
|
* REST API Taxes controller class.
|
|
*
|
|
* @package WooCommerce/API
|
|
* @extends WP_REST_Controller
|
|
*/
|
|
class WC_REST_Taxes_Controller extends WP_REST_Controller {
|
|
|
|
/**
|
|
* Route base.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $rest_base = 'taxes';
|
|
|
|
/**
|
|
* Register the routes for coupons.
|
|
*/
|
|
public function register_routes() {
|
|
|
|
}
|
|
}
|