Filters whether to enable loading of the object-cache.php drop-in.
Description
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.
Parameters
$enable_object_cache
bool- Whether to enable loading object-cache.php (if present).
Default true.
Source
if ( $first_init && apply_filters( 'enable_loading_object_cache_dropin', true ) ) {
Changelog
Version | Description |
---|---|
5.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.