Filter hook 'enable_loading_advanced_cache_dropin'

in WP Core File wp-settings.php at line 95

Description

Filters whether to enable loading of the advanced-cache.php drop-in. This filter runs before it can be used by plugins. It is designed for non-web run-times. If false is returned, advanced-cache.php will never be loaded.

Occurrences

Filename Line Number
wp-settings.php 95
wp-admin/includes/class-wp-site-health.php 3428

Parameters

Type Name Description
bool $enable_advanced_cache Whether to enable loading advanced-cache.php (if present). Default true.

PHP Doc

/**
 * Filters whether to enable loading of the advanced-cache.php drop-in.
 *
 * This filter runs before it can be used by plugins. It is designed for non-web
 * run-times. If false is returned, advanced-cache.php will never be loaded.
 *
 * @since 4.6.0
 *
 * @param bool $enable_advanced_cache Whether to enable loading advanced-cache.php (if present).
 *                                    Default true.
 */