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/Util_ConfigLabel.php
<?php
/**
 * File: Util_ConfigLabel.php
 *
 * @package W3TC
 */

namespace W3TC;

/**
 * Class: Util_ConfigLabel
 */
class Util_ConfigLabel {
	/**
	 * Undocumented function
	 *
	 * @param string $w3tc_key Key name.
	 */
	public static function get( $w3tc_key ) {
		static $w3tc_keys = null;
		if ( is_null( $w3tc_keys ) ) {
			$w3tc_keys = array(
				'memcached.servers'             => __( 'Memcached hostname:port / <acronym title="Internet Protocol">IP</acronym>:port:', 'w3-total-cache' ),
				'memcached.persistent'          => __( 'Persistent connection', 'w3-total-cache' ),
				'memcached.username'            => __( 'Memcached username:', 'w3-total-cache' ),
				'memcached.password'            => __( 'Memcached password:', 'w3-total-cache' ),
				'memcached.binary_protocol'     => __( 'Binary protocol', 'w3-total-cache' ),
				'redis.servers'                 => __( 'Redis hostname:port / <acronym title="Internet Protocol">IP</acronym>:port:', 'w3-total-cache' ),
				'redis.verify_tls_certificates' => __( 'Verify TLS Certificates', 'w3-total-cache' ),
				'redis.persistent'              => __( 'Persistent connection', 'w3-total-cache' ),
				'redis.timeout'                 => __( 'Connection timeout', 'w3-total-cache' ),
				'redis.retry_interval'          => __( 'Connection retry interval', 'w3-total-cache' ),
				'redis.read_timeout'            => __( 'Connection read timeout', 'w3-total-cache' ),
				'redis.dbid'                    => __( 'Redis Database ID:', 'w3-total-cache' ),
				'redis.password'                => __( 'Redis password:', 'w3-total-cache' ),
			);
		}

		return $w3tc_keys[ $w3tc_key ];
	}
}