| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /inetpub/wwwroot/business/mpa/wp-content/plugins/w3-total-cache/ |
Upload File : |
<?php
/**
* File: DbCache_ConfigLabels.php
*
* @package W3TC
*/
namespace W3TC;
/**
* Class DbCache_ConfigLabels
*/
class DbCache_ConfigLabels {
/**
* Configures the labels for database cache settings.
*
* @param array $config_labels Existing configuration labels.
*
* @return array Updated configuration labels with database cache-specific settings.
*/
public function config_labels( $config_labels ) {
return array_merge(
$config_labels,
array(
'dbcache.engine' => __( 'Database Cache Method:', 'w3-total-cache' ),
'dbcache.enabled' => __( 'Database Cache:', 'w3-total-cache' ),
'dbcache.debug' => __( 'Database Cache', 'w3-total-cache' ),
'dbcache.reject.logged' => __( 'Don\'t cache queries for logged in users', 'w3-total-cache' ),
'dbcache.lifetime' => __( 'Maximum lifetime of cache objects:', 'w3-total-cache' ),
'dbcache.file.gc' => __( 'Garbage collection interval:', 'w3-total-cache' ),
'dbcache.reject.uri' => __( 'Never cache the following pages:', 'w3-total-cache' ),
'dbcache.reject.sql' => __( 'Ignored query stems:', 'w3-total-cache' ),
'dbcache.reject.words' => __( 'Reject query words:', 'w3-total-cache' ),
'dbcache.reject.constants' => __( 'Reject constants:', 'w3-total-cache' ),
'dbcache.wpcli_disk' => __( 'Enable for WP-CLI', 'w3-total-cache' ),
'dbcache.wp_cron' => __( 'Enable WP-Cron Event', 'w3-total-cache' ),
'dbcache.wp_cron_time' => __( 'Start Time', 'w3-total-cache' ),
'dbcache.wp_cron_interval' => __( 'Interval', 'w3-total-cache' ),
)
);
}
}