WordPress at Your Fingertips
filter is not described

enable_loading_advanced_cache_dropin filter-hook . WP 4.6.0

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.


add_filter( 'enable_loading_advanced_cache_dropin', 'filter_function_name_1887' );
function filter_function_name_1887( $enable_advanced_cache ){
	// filter...

	return $enable_advanced_cache;
Whether to enable loading advanced-cache.php (if present).
Default: true


Since 4.6.0 Introduced.

Where the hook is called

In file: /wp-settings.php
wp-settings.php 93
if ( WP_CACHE && apply_filters( 'enable_loading_advanced_cache_dropin', true ) && file_exists( WP_CONTENT_DIR . '/advanced-cache.php' ) ) {

Where in WP core the hook is used WordPress

Usage not found.