WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API

ProductAttributes::get_collection_params() public WC 1.0

Get the query params for collections

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

No Hooks.

Return

Array. Nothing.

Usage

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

Code of ProductAttributes::get_collection_params() WC 5.2.2

<?php
public function get_collection_params() {
	$params           = parent::get_collection_params();
	$params['search'] = array(
		'description'       => __( 'Search by similar attribute name.', 'woocommerce' ),
		'type'              => 'string',
		'validate_callback' => 'rest_validate_request_arg',
	);

	return $params;
}