WordPress at a glance
function is not described

WC_REST_System_Status_Tools_V2_Controller::get_collection_params() public WC 1.0

Get any query params needed.

{} It's a method of the class: WC_REST_System_Status_Tools_V2_Controller{}

No Hooks.

Return

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();

Code of WC_REST_System_Status_Tools_V2_Controller::get_collection_params() WC 5.0.0

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