WP_HTTP_Response::get_status
Retrieves the HTTP return code for the response.
Метод класса: WP_HTTP_Response{}
Хуков нет.
Возвращает
int. The 3-digit HTTP status code.
Использование
$WP_HTTP_Response = new WP_HTTP_Response(); $WP_HTTP_Response->get_status();
Список изменений
| С версии 4.4.0 | Введена. |
Код WP_HTTP_Response::get_status() WP HTTP Response::get status WP 6.9
public function get_status() {
return $this->status;
}