Sets the route that matched the request.
Parameters
$route
stringrequired- Route matching regex.
Source
public function set_route( $route ) {
$this->route = $route;
}
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |
Sets the route that matched the request.
$route
stringrequiredpublic function set_route( $route ) {
$this->route = $route;
}
Version | Description |
---|---|
4.4.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.