Automattic\WooCommerce\Admin\API

MarketingCampaignTypes::get_collection_paramspublicWC 1.0

Retrieves the query params for the collections.

Method of the class: MarketingCampaignTypes{}

No Hooks.

Returns

Array. Query parameters for the collection.

Usage

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

MarketingCampaignTypes::get_collection_params() code WC 10.3.6

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

	return $params;
}