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