Automattic\WooCommerce\Internal\ProductFilters\Interfaces
FilterUrlParam{}
Interface for filter URL parameters.
No Hooks.
Usage
$FilterUrlParam = new FilterUrlParam(); // use class methods
Methods
- public get_param( string $type )
- public get_param_keys()
FilterUrlParam{} FilterUrlParam{} code WC 10.3.3
interface FilterUrlParam {
/**
* Get the param keys.
*
* @return array
*/
public function get_param_keys(): array;
/**
* Get the param.
*
* @param string $type The type of param to get.
* @return array
*/
public function get_param( string $type ): array;
}