Yoast\WP\SEO\AI_Generator\Infrastructure
WordPress_URLs::get_refresh_callback_url
Gets the callback URL to be used by the API to send back the refreshed JWTs once they expire.
Метод класса: WordPress_URLs{}
Хуков нет.
Возвращает
Строку. The callbacks URL.
Использование
$WordPress_URLs = new WordPress_URLs(); $WordPress_URLs->get_refresh_callback_url(): string;
Код WordPress_URLs::get_refresh_callback_url() WordPress URLs::get refresh callback url Yoast 28.3
public function get_refresh_callback_url(): string {
return \get_rest_url( null, 'yoast/v1/ai_generator/refresh_callback' );
}