WC_REST_System_Status_Tools_V2_Controller::get_collection_paramspublicWC 1.0

Get any query params needed.

Method of the class: WC_REST_System_Status_Tools_V2_Controller{}

No Hooks.

Returns

Array.

Usage

$WC_REST_System_Status_Tools_V2_Controller = new WC_REST_System_Status_Tools_V2_Controller();
$WC_REST_System_Status_Tools_V2_Controller->get_collection_params();

WC_REST_System_Status_Tools_V2_Controller::get_collection_params() code WC 9.9.5

public function get_collection_params() {
	return array(
		'context' => $this->get_context_param( array( 'default' => 'view' ) ),
	);
}