Yoast\WP\SEO\Exceptions\OAuth
Authentication_Failed_Exception::get_response()
Returns a formatted response object.
Метод класса: Authentication_Failed_Exception{}
Хуков нет.
Возвращает
Объект
. The response object.
Использование
$Authentication_Failed_Exception = new Authentication_Failed_Exception(); $Authentication_Failed_Exception->get_response();
Код Authentication_Failed_Exception::get_response() Authentication Failed Exception::get response Yoast 24.0
public function get_response() { return (object) [ 'tokens' => [], 'error' => $this->getMessage() . ': ' . $this->getPrevious()->getMessage(), 'status' => $this->getCode(), ]; }