Automattic\WooCommerce\Admin\API

Customers::get_collection_params()publicWC 1.0

Get the query params for collections.

Method of the class: Customers{}

No Hooks.

Return

Array.

Usage

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

Customers::get_collection_params() code WC 8.7.0

public function get_collection_params() {
	$params            = parent::get_collection_params();
	$params['include'] = $params['customers'];
	unset( $params['customers'] );
	return $params;
}