HEX
Server: LiteSpeed
System: Linux cde2.duelhost.dk 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
User: dtptviut (1121)
PHP: 8.0.30
Disabled: exec,system,passthru,shell_exec,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/dtptviut/public_html/wp-content/plugins/w3-total-cache/ObjectCache_ConfigLabels.php
<?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' ),
				'objectcache.wpcli_disk'           => __( 'Enable for WP-CLI', 'w3-total-cache' ),
				'objectcache.wp_cron'              => __( 'Enable WP-Cron Event', 'w3-total-cache' ),
				'objectcache.wp_cron_time'         => __( 'Start Time', 'w3-total-cache' ),
				'objectcache.wp_cron_interval'     => __( 'Interval', 'w3-total-cache' ),
			)
		);
	}
}