WC_REST_Customer_Downloads_V1_Controller::get_collection_params()publicWC 1.0

Get the query params for collections.

Метод класса: WC_REST_Customer_Downloads_V1_Controller{}

Хуков нет.

Возвращает

Массив.

Использование

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

Код WC_REST_Customer_Downloads_V1_Controller::get_collection_params() WC 7.3.0

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