| Server IP : 104.21.21.239 / Your IP : 216.73.216.25 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/tgnew/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' ),
)
);
}
}