WP_REST_Response::get_matched_route() public WP 4.4.0
Retrieves the route that was used.
{} Это метод класса: WP_REST_Response{}
Хуков нет.
Возвращает
Строку
. The matched route.
Использование
$WP_REST_Response = new WP_REST_Response(); $WP_REST_Response->get_matched_route();
Список изменений
С версии 4.4.0 | Введена. |
Код WP_REST_Response::get_matched_route() WP REST Response::get matched route WP 5.7
public function get_matched_route() {
return $this->matched_route;
}