Yoast\WP\SEO\MyYoast_Client\Application
Callback_Outcome::exchange_error
Creates an outcome for a failure while exchanging the code at the token endpoint.
Метод класса: Callback_Outcome{}
Хуков нет.
Возвращает
self.
Использование
$result = Callback_Outcome::exchange_error( ?string $oauth_error_code ): self;
- ?string $oauth_error_code(обязательный)
- .
Код Callback_Outcome::exchange_error() Callback Outcome::exchange error Yoast 28.3
public static function exchange_error( ?string $oauth_error_code ): self {
return new self( false, false, self::PHASE_EXCHANGE, $oauth_error_code );
}