WP_REST_Response::get_matched_handler()
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 6.6.2
public function get_matched_handler() { return $this->matched_handler; }