Filter hook 'enable_loading_object_cache_dropin'

in WP Core File wp-includes/load.php at line 823

Description

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 runtimes. If false is returned, object-cache.php will never be loaded.

Occurrences

Filename Line Number
wp-includes/load.php 823

Parameters

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

PHP Doc

/**
	 * 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
	 * runtimes. If false is returned, object-cache.php will never be loaded.
	 *
	 * @since 5.8.0
	 *
	 * @param bool $enable_object_cache Whether to enable loading object-cache.php (if present).
	 *                                  Default true.
	 */