2016-03-30 23:50:06 +00:00
|
|
|
<?php
|
|
|
|
/**
|
2017-02-11 14:51:41 +00:00
|
|
|
* REST API Product Reviews Controller
|
2016-03-30 23:50:06 +00:00
|
|
|
*
|
2016-07-29 19:43:59 +00:00
|
|
|
* Handles requests to /products/<product_id>/reviews.
|
2016-03-30 23:50:06 +00:00
|
|
|
*
|
2018-03-06 18:04:58 +00:00
|
|
|
* @package WooCommerce/API
|
|
|
|
* @since 2.6.0
|
2016-03-30 23:50:06 +00:00
|
|
|
*/
|
|
|
|
|
2018-03-06 18:04:58 +00:00
|
|
|
defined( 'ABSPATH' ) || exit;
|
2016-03-30 23:50:06 +00:00
|
|
|
|
|
|
|
/**
|
2016-07-29 19:43:59 +00:00
|
|
|
* REST API Product Reviews Controller Class.
|
2016-03-30 23:50:06 +00:00
|
|
|
*
|
|
|
|
* @package WooCommerce/API
|
2018-05-17 10:44:46 +00:00
|
|
|
* @extends WC_REST_Product_Reviews_V2_Controller
|
2016-03-30 23:50:06 +00:00
|
|
|
*/
|
2018-05-17 10:44:46 +00:00
|
|
|
class WC_REST_Product_Reviews_Controller extends WC_REST_Product_Reviews_V2_Controller {
|
2016-03-30 23:50:06 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Endpoint namespace.
|
|
|
|
*
|
|
|
|
* @var string
|
|
|
|
*/
|
2018-05-17 10:44:46 +00:00
|
|
|
protected $namespace = 'wc/v3';
|
2016-03-30 23:50:06 +00:00
|
|
|
}
|