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.
$enable_object_cachebool
if ( $first_init && apply_filters( 'enable_loading_object_cache_dropin', true ) ) {
| Version | Description |
|---|---|
| 5.8.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/enable_loading_object_cache_dropin