WP_REST_Response::get_matched_handler() public WP 4.4.0
Retrieves the handler that was used to generate the response.
{} Это метод класса: WP_REST_Response{}
Хуков нет.
Возвращает
null/Массив
. The handler that was used to create the response.
Использование
$WP_REST_Response = new WP_REST_Response(); $WP_REST_Response->get_matched_handler();
Список изменений
С версии 4.4.0 | Введена. |
Код WP_REST_Response::get_matched_handler() WP REST Response::get matched handler WP 5.7.1
public function get_matched_handler() {
return $this->matched_handler;
}