apply_filters( 'enable_loading_object_cache_dropin', bool $enable_object_cache )
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
-
Whether to enable loading object-cache.php (if present).<br> Default true.
Source
File: wp-includes/load.php
Changelog
| Version | Description |
|---|---|
| 5.8.0 | Introduced. |