Yoast\WP\SEO\MyYoast_Client\User_Interface
Status_Presenter::redirect_uris_match
Whether the registration's redirect URIs still match what this site would register today.
A mismatch means the site's URL has changed since it was connected, and the registration needs re-syncing.
Метод класса: Status_Presenter{}
Хуков нет.
Возвращает
true|false.
Использование
// private - только в коде основоного (родительского) класса $result = $this->redirect_uris_match( $client ): bool;
- $client(Registered_Client) (обязательный)
- The registered client.
Код Status_Presenter::redirect_uris_match() Status Presenter::redirect uris match Yoast 28.3
private function redirect_uris_match( Registered_Client $client ): bool {
return $client->has_redirect_uris( $this->redirect_uri_provider->get_redirect_uris() );
}