Automattic\WooCommerce\Internal\ProductFilters\Interfaces
FilterUrlParam{}
Interface for filter URL parameters.
Хуков нет.
Использование
$FilterUrlParam = new FilterUrlParam(); // use class methods
Методы
- public get_param( string $type )
- public get_param_keys()
Код FilterUrlParam{} FilterUrlParam{} WC 11.0.1
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;
}