enable_loading_advanced_cache_dropin

enable_loading_advanced_cache_dropin

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('enable_loading_advanced_cache_dropin') is found 2 times:

  • /wp-admin/includes/class-wp-site-health.php line 3428
    				&&
    				( defined( 'WP_CACHE' ) && WP_CACHE )
    				&&
    				/** This filter is documented in wp-settings.php */
    				apply_filters( 'enable_loading_advanced_cache_dropin', true )
    			),
    			'page_caching_response_headers' => $page_caching_response_headers,
    			'response_timing'               => $response_timing,
    		);
    	}
    
    
  • /wp-settings.php line 96
     *
     * @param bool $enable_advanced_cache Whether to enable loading advanced-cache.php (if present).
     *                                    Default true.
     */
    if ( WP_CACHE && apply_filters( 'enable_loading_advanced_cache_dropin', true ) && file_exists( WP_CONTENT_DIR . '/advanced-cache.php' ) ) {
    	// For an advanced caching plugin to use. Uses a static drop-in because you would only want one.
    	include WP_CONTENT_DIR . '/advanced-cache.php';
    
    	// Re-initialize any hooks added manually by advanced-cache.php.
    	if ( $wp_filter ) {
    		$wp_filter = WP_Hook::build_preinitialized_hooks( $wp_filter );