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

18 lines
829 B
PHP
Raw Normal View History

2023-10-22 22:21:44 +00:00
<?php
namespace W3TC;
class ObjectCache_ConfigLabels {
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' )
) );
}
}