WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API

DataDownloadIPs::get_collection_params() public WC 1.0

Get the query params for collections.

{} It's a method of the class: DataDownloadIPs{}

No Hooks.

Return

Array. Nothing.

Usage

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

Code of DataDownloadIPs::get_collection_params() WC 5.3.0

<?php
public function get_collection_params() {
	$params            = array();
	$params['context'] = $this->get_context_param( array( 'default' => 'view' ) );
	$params['match']   = array(
		'description'       => __( 'A partial IP address can be passed and matching results will be returned.', 'woocommerce' ),
		'type'              => 'string',
		'validate_callback' => 'rest_validate_request_arg',
	);
	return $params;
}