Automattic\WooCommerce\Admin\API

MarketingCampaigns::get_collection_params()publicWC 1.0

Retrieves the query params for the collections.

Method of the class: MarketingCampaigns{}

No Hooks.

Return

Array. Query parameters for the collection.

Usage

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

MarketingCampaigns::get_collection_params() code WC 9.7.1

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

	return $params;
}