Automattic\WooCommerce\Admin\API

MarketingCampaigns::get_collection_params()publicWC 1.0

Retrieves the query params for the collections.

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

Хуков нет.

Возвращает

Массив. Query parameters for the collection.

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

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

Код MarketingCampaigns::get_collection_params() WC 9.3.3

public function get_collection_params() {
	$params = parent::get_collection_params();
	unset( $params['search'] );

	return $params;
}