Files
roi-theme/wp-content/plugins/w3-total-cache/DbCache_ConfigLabels.php
root a22573bf0b Commit inicial - WordPress Análisis de Precios Unitarios
- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 21:04:30 -06:00

38 lines
1.2 KiB
PHP
Executable 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' ),
)
);
}
}