HEX
Server: Apache
System: Linux p3plzcpnl504902.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: nhqyemt2u0zd (3690907)
PHP: 7.2.34
Disabled: NONE
Upload Files
File: //proc/self/cwd/wp-content/plugins/w3-total-cache/UsageStatistics_View_General.php
<?php
namespace W3TC;

if ( !defined( 'W3TC' ) )
	die();

?>
<tr>
    <th colspan="2">
        <?php

$c = Dispatcher::config();
$is_pro = Util_Environment::is_w3tc_pro( $c );

$key = 'stats.enabled';
$value = $c->get( $key );
if ( !$is_pro )
	$value = false;

$name = Util_Ui::config_key_to_http_name( $key );
Util_Ui::checkbox( $key, 
	$name, 
	$value, 
	$c->is_sealed( 'common.' ) || !$is_pro,
	__( 'Enable caching statistics (on dashboard)', 'w3-total-cache' )
);

if ( !$is_pro )
	echo ' (Available after <a href="#" class="button-buy-plugin">upgrade</a>)';
?>
    </th>
</tr>