HEX
Server: Apache
System: Linux d5123.usc1.stableserver.net 5.14.0-570.17.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Sat May 24 12:53:17 EDT 2025 x86_64
User: d5123 (1001)
PHP: 8.4.21
Disabled: NONE
Upload Files
File: /home/d5123/toddstratton_com/wp-content/advanced-cache.php
<?php
/**
 * Hummingbird Advanced Tools module
 *
 * @package Hummingbird
 */

if ( ! defined( 'ABSPATH' ) ) {
	die();
}

/**
 * Load necessary modules for caching.
 */

if ( ! class_exists( 'Hummingbird\\Core\\Modules\\Page_Cache' ) ) {
	if ( defined( 'WP_ADMIN' ) && WP_ADMIN ) {
		return;
	}

	if ( is_dir( WP_CONTENT_DIR . '/plugins/wp-hummingbird/' ) ) {
		$plugin_path = WP_CONTENT_DIR . '/plugins/wp-hummingbird/';
	} elseif ( is_dir( WP_CONTENT_DIR . '/plugins/hummingbird-performance/' ) ) {
		$plugin_path = WP_CONTENT_DIR . '/plugins/hummingbird-performance/';
	} else {
		return;
	}

	if ( ! file_exists( $plugin_path . 'core/cache.php' ) ) {
		return;
	}

	define( 'WPHB_ADVANCED_CACHE', true );
	include_once $plugin_path . 'core/cache.php';
}