WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about enable_loading_advanced_cache_dropin

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-settings.php apply_filters 93 /**
* Filters whether to enable loading of the advanced-cache.php drop-in.
*
* This filter runs before it can be used by plugins. It is designed for non-web
* run-times. If false is returned, advanced-cache.php will never be loaded.
*
* @since 4.6.0
*
* @param bool $enable_advanced_cache Whether to enable loading advanced-cache.php (if present).
* Default true.
*/
wp-admin/includes/class-wp-site-health.php apply_filters 3240 /**
* Checks if site has page cache enabled or not.
*
* @since 6.1.0
*
* @return WP_Error|array {
* Page cache detection details or else error information.
*
* @type bool $advanced_cache_present Whether a page cache plugin is present.
* @type array[] $page_caching_response_headers Sets of client caching headers for the responses.
* @type float[] $response_timing Response timings.
* }
*/

Hook Parameters

Parameter Type Name Description
bool $enable_advanced_cache Whether to enable loading advanced-cache.php (if present).