Yoast\WP\SEO\AI_Generator\Domain
URLs_Interface{}
Helper class to get the URLs needed for the AI Generator API.
Хуков нет.
Использование
$URLs_Interface = new URLs_Interface(); // use class methods
Методы
- public get_callback_url()
- public get_license_url()
- public get_refresh_callback_url()
- ERROR: no method name found on line `/**`
- ERROR: no method name found on line `/**`
- ERROR: no method name found on line ``
Код URLs_Interface{} URLs Interface{} Yoast 28.3
interface URLs_Interface {
/**
* Gets the licence URL.
*
* @return string The license URL.
*/
public function get_license_url(): string;
/**
* Gets the callback URL to be used by the API to send back the access token, refresh token and code challenge.
*
* @return string The callback URL.
*/
public function get_callback_url(): string;
/**
* Gets the callback URL to be used by the API to send back the refreshed JWTs once they expire.
*
* @return string The refresh callback URL.
*/
public function get_refresh_callback_url(): string;
}