Automattic\WooCommerce\Internal\ProductFilters

Params::get_params │ public │ WC 11.3.0

Get the complete effective parameter map.

Method of the class: Params{}

No Hooks.

Returns

array. Filter types mapped to their URL parameters.

Usage

$Params = new Params();
$Params->get_params(): array;

Changelog

Since 11.3.0 Introduced.

Params::get_params() code WC 11.3.0

public function get_params(): array {
	if ( empty( self::$params ) ) {
		$this->init_params();
	}

	return self::$params;
}