Yoast\WP\SEO\Exceptions\OAuth
Authentication_Failed_Exception::get_response() public Yoast 1.0
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 15.6.2
public function get_response() {
return (object) [
'tokens' => [],
'error' => $this->getMessage() . ': ' . $this->getPrevious()->getMessage(),
'status' => $this->getCode(),
];
}