Fixed docblocks
This commit is contained in:
parent
1fb4108e08
commit
7593285824
|
@ -30,7 +30,7 @@ class WC_REST_Product_Attribute_Terms_Controller extends WC_REST_Terms_Controlle
|
|||
protected $rest_base = 'products/attributes/(?P<attribute_id>[\d]+)/terms';
|
||||
|
||||
/**
|
||||
* Register the routes for coupons.
|
||||
* Register the routes for product attribute terms.
|
||||
*/
|
||||
public function register_routes() {
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ class WC_REST_Product_Attributes_Controller extends WP_REST_Controller {
|
|||
protected $rest_base = 'products/attributes';
|
||||
|
||||
/**
|
||||
* Register the routes for coupons.
|
||||
* Register the routes for product attributes.
|
||||
*/
|
||||
public function register_routes() {
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ class WC_REST_Product_Categories_Controller extends WC_REST_Terms_Controller {
|
|||
protected $object = 'product_cat';
|
||||
|
||||
/**
|
||||
* Register the routes for coupons.
|
||||
* Register the routes for product categories.
|
||||
*/
|
||||
public function register_routes() {
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ class WC_REST_Product_Shipping_Classes_Controller extends WC_REST_Terms_Controll
|
|||
protected $object = 'product_shipping_class';
|
||||
|
||||
/**
|
||||
* Register the routes for coupons.
|
||||
* Register the routes for product shipping classes.
|
||||
*/
|
||||
public function register_routes() {
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ class WC_REST_Product_Tags_Controller extends WC_REST_Terms_Controller {
|
|||
protected $object = 'product_tag';
|
||||
|
||||
/**
|
||||
* Register the routes for coupons.
|
||||
* Register the routes for product tags.
|
||||
*/
|
||||
public function register_routes() {
|
||||
|
||||
|
|
Loading…
Reference in New Issue