WordPress at Your Fingertips
filter is not described

enable_loading_object_cache_dropin filter-hook . WP 5.8.0

Filters whether to enable loading of the object-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, object-cache.php will never be loaded.

Usage

add_filter( 'enable_loading_object_cache_dropin', 'filter_function_name_4667' );
function filter_function_name_4667( $enable_object_cache ){
	// filter...

	return $enable_object_cache;
}
$enable_object_cache(true|false)
Whether to enable loading object-cache.php (if present).
Default: true

Changelog

Since 5.8.0 Introduced.

Where the hook is called

wp_start_object_cache()
enable_loading_object_cache_dropin
wp-includes/load.php 680
if ( $first_init && apply_filters( 'enable_loading_object_cache_dropin', true ) ) {

Where in WP core the hook is used WordPress

Usage not found.