WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API

ProductVariations::get_collection_params() public WC 1.0

Get the query params for collections.

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

No Hooks.

Return

Array. Nothing.

Usage

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

Code of ProductVariations::get_collection_params() WC 5.3.0

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