laipower/wp-content/upgrade-temp-backup/plugins/w3-total-cache/UserExperience_GeneralPage.php

33 lines
773 B
PHP
Raw Normal View History

2024-03-28 09:40:10 +00:00
<?php
namespace W3TC;
class UserExperience_GeneralPage {
/**
* W3TC General settings page modifications
*/
static public function admin_init_w3tc_general() {
$o = new UserExperience_GeneralPage();
add_filter( 'w3tc_settings_general_anchors',
array( $o, 'w3tc_settings_general_anchors' ) );
add_action( 'w3tc_settings_general_boxarea_userexperience',
array( $o, 'w3tc_settings_general_boxarea_userexperience' ) );
}
public function w3tc_settings_general_anchors( $anchors ) {
$anchors[] = array( 'id' => 'userexperience', 'text' => 'User Experience' );
return $anchors;
}
public function w3tc_settings_general_boxarea_userexperience() {
$config = Dispatcher::config();
include W3TC_DIR . '/UserExperience_GeneralPage_View.php';
}
}