WC_REST_Shipping_Methods_V2_Controller::get_collection_params()
Get any query params needed.
Method of the class: WC_REST_Shipping_Methods_V2_Controller{}
No Hooks.
Return
Array
.
Usage
$WC_REST_Shipping_Methods_V2_Controller = new WC_REST_Shipping_Methods_V2_Controller(); $WC_REST_Shipping_Methods_V2_Controller->get_collection_params();
WC_REST_Shipping_Methods_V2_Controller::get_collection_params() WC REST Shipping Methods V2 Controller::get collection params code WC 9.2.3
public function get_collection_params() { return array( 'context' => $this->get_context_param( array( 'default' => 'view' ) ), ); }