apply_filters( 'enable_loading_object_cache_dropin', bool $enable_object_cache )

Filters whether to enable loading of the object-cache.php drop-in.


Description Description

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.


Top ↑

Parameters Parameters

$enable_object_cache

(bool) Whether to enable loading object-cache.php (if present). Default true.


Top ↑

Source Source

File: wp-includes/load.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
5.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.