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