| 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/tgnew/wp-content/plugins/w3-total-cache/ |
Upload File : |
<?php
/**
* File: ObjectCache_ConfigLabels.php
*
* @package W3TC
*/
namespace W3TC;
/**
* Class ObjectCache_ConfigLabels
*/
class ObjectCache_ConfigLabels {
/**
* Merges the provided configuration labels with default object cache labels.
*
* @param array $config_labels Array of configuration labels to be merged.
*
* @return array Merged configuration labels with default object cache labels.
*/
public function config_labels( $config_labels ) {
return array_merge(
$config_labels,
array(
'objectcache.engine' => __( 'Object Cache Method:', 'w3-total-cache' ),
'objectcache.enabled' => __( 'Object Cache:', 'w3-total-cache' ),
'objectcache.debug' => __( 'Object Cache', 'w3-total-cache' ),
'objectcache.lifetime' => __( 'Default lifetime of cache objects:', 'w3-total-cache' ),
'objectcache.file.gc' => __( 'Garbage collection interval:', 'w3-total-cache' ),
'objectcache.groups.global' => __( 'Global groups:', 'w3-total-cache' ),
'objectcache.groups.nonpersistent' => __( 'Non-persistent groups:', 'w3-total-cache' ),
'objectcache.purge.all' => __( 'Flush all cache on post, comment etc changes.', 'w3-total-cache' ),
)
);
}
}