| Server IP : 172.67.201.108 / Your IP : 216.73.216.11 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/home2/domains/ndb/wp-content/w3-total-cache/ |
Upload File : |
<?php
namespace W3TC;
class LazyLoad_Plugin_Admin {
function run() {
add_filter( 'w3tc_admin_menu', array( $this, 'w3tc_admin_menu' ) );
add_action( 'w3tc_settings_page-w3tc_userexperience',
array( $this, 'w3tc_settings_page_w3tc_userexperience' ) );
add_action( 'admin_init_w3tc_general',
array( '\W3TC\LazyLoad_GeneralPage', 'admin_init_w3tc_general' ) );
}
public function w3tc_admin_menu( $menu ) {
$c = Dispatcher::config();
$menu['w3tc_userexperience'] = array(
'page_title' => __( 'User Experience', 'w3-total-cache' ),
'menu_text' => __( 'User Experience', 'w3-total-cache' ),
'visible_always' => false,
'order' => 1200
);
return $menu;
}
public function w3tc_settings_page_w3tc_userexperience() {
$v = new LazyLoad_Page();
$v->render_content();
}
}