Sets default parameters.
Description
These are the parameters set in the route registration.
Parameters
$paramsarrayrequired- Parameter map of key to value.
Source
public function set_default_params( $params ) {
$this->params['defaults'] = $params;
}
Changelog
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.