Automattic\WooCommerce\Internal\ProductFilters
Params::get_param
Get the param.
Method of the class: Params{}
No Hooks.
Returns
Array.
Usage
$Params = new Params(); $Params->get_param( $type ): array;
- $type(string) (required)
- The type of param to get.
Params::get_param() Params::get param code WC 10.3.3
public function get_param( string $type ): array {
if ( empty( self::$params ) ) {
$this->init_params();
}
return self::$params[ $type ] ?? array();
}