woocommerce/includes/api/class-wc-rest-product-revie...

28 lines
506 B
PHP
Raw Normal View History

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