Fixed get_item_schema() description
This commit is contained in:
parent
e493b80c5a
commit
3e6ef07ead
|
@ -382,7 +382,7 @@ class WC_REST_Coupons_Controller extends WC_REST_Posts_Controller {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the Post's schema, conforming to JSON Schema.
|
* Get the Coupon's schema, conforming to JSON Schema.
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -591,8 +591,8 @@ class WC_REST_Customers_Controller extends WP_REST_Controller {
|
||||||
/**
|
/**
|
||||||
* Prepare links for the request.
|
* Prepare links for the request.
|
||||||
*
|
*
|
||||||
* @param WP_User $customer User object.
|
* @param WP_User $customer Customer object.
|
||||||
* @return array Links for the given user.
|
* @return array Links for the given customer.
|
||||||
*/
|
*/
|
||||||
protected function prepare_links( $customer ) {
|
protected function prepare_links( $customer ) {
|
||||||
$links = array(
|
$links = array(
|
||||||
|
@ -608,7 +608,7 @@ class WC_REST_Customers_Controller extends WP_REST_Controller {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the User's schema, conforming to JSON Schema
|
* Get the Customer's schema, conforming to JSON Schema
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -72,7 +72,7 @@ class WC_REST_Product_Attribute_Terms_Controller extends WC_REST_Terms_Controlle
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the Term's schema, conforming to JSON Schema.
|
* Get the Attribute Term's schema, conforming to JSON Schema.
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -486,7 +486,7 @@ class WC_REST_Product_Attributes_Controller extends WP_REST_Controller {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the Term's schema, conforming to JSON Schema.
|
* Get the Attribute's schema, conforming to JSON Schema.
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -122,7 +122,7 @@ class WC_REST_Product_Categories_Controller extends WC_REST_Terms_Controller {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the Term's schema, conforming to JSON Schema.
|
* Get the Category schema, conforming to JSON Schema.
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -106,7 +106,7 @@ class WC_REST_Product_Shipping_Classes_Controller extends WC_REST_Terms_Controll
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the Term's schema, conforming to JSON Schema.
|
* Get the Shipping Class schema, conforming to JSON Schema.
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -80,7 +80,7 @@ class WC_REST_Product_Tags_Controller extends WC_REST_Terms_Controller {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the Term's schema, conforming to JSON Schema.
|
* Get the Tag's schema, conforming to JSON Schema.
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -312,7 +312,7 @@ class WC_REST_Tax_Classes_Controller extends WP_REST_Controller {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the User's schema, conforming to JSON Schema
|
* Get the Tax Classes schema, conforming to JSON Schema
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -529,7 +529,7 @@ class WC_REST_Taxes_Controller extends WP_REST_Controller {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the User's schema, conforming to JSON Schema
|
* Get the Taxes schema, conforming to JSON Schema
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue