WC_REST_Product_Attributes_V1_Controller::get_collection_params
Get the query params for collections
Method of the class: WC_REST_Product_Attributes_V1_Controller{}
No Hooks.
Returns
Array.
Usage
$WC_REST_Product_Attributes_V1_Controller = new WC_REST_Product_Attributes_V1_Controller(); $WC_REST_Product_Attributes_V1_Controller->get_collection_params();
WC_REST_Product_Attributes_V1_Controller::get_collection_params() WC REST Product Attributes V1 Controller::get collection params code WC 10.6.2
public function get_collection_params() {
$params = array();
$params['context'] = $this->get_context_param( array( 'default' => 'view' ) );
return $params;
}