35 lines
583 B
PHP
35 lines
583 B
PHP
|
<?php
|
||
|
/**
|
||
|
* REST API Reports customers controller
|
||
|
*
|
||
|
* Handles requests to the /reports/customers endpoint.
|
||
|
*
|
||
|
* @package WooCommerce/API
|
||
|
* @since 3.5.0
|
||
|
*/
|
||
|
|
||
|
defined( 'ABSPATH' ) || exit;
|
||
|
|
||
|
/**
|
||
|
* REST API Reports customers controller class.
|
||
|
*
|
||
|
* @package WooCommerce/API
|
||
|
* @extends WC_REST_Reports_Controller
|
||
|
*/
|
||
|
class WC_REST_Reports_Customers_Controller extends WC_REST_Reports_Controller {
|
||
|
|
||
|
/**
|
||
|
* Endpoint namespace.
|
||
|
*
|
||
|
* @var string
|
||
|
*/
|
||
|
protected $namespace = 'wc/v3';
|
||
|
|
||
|
/**
|
||
|
* Route base.
|
||
|
*
|
||
|
* @var string
|
||
|
*/
|
||
|
protected $rest_base = 'reports/customers';
|
||
|
}
|