WC_REST_Order_Refunds_V2_Controller::get_collection_params()publicWC 1.0

Get the query params for collections.

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

Хуков нет.

Возвращает

Массив.

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

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

Код WC_REST_Order_Refunds_V2_Controller::get_collection_params() WC 7.3.0

public function get_collection_params() {
	$params = parent::get_collection_params();

	unset( $params['status'], $params['customer'], $params['product'] );

	return $params;
}