WC_REST_Webhook_Deliveries_V1_Controller::get_collection_params()publicWC 1.0

Get the query params for collections.

Method of the class: WC_REST_Webhook_Deliveries_V1_Controller{}

No Hooks.

Return

Array.

Usage

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

WC_REST_Webhook_Deliveries_V1_Controller::get_collection_params() code WC 8.6.1

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