site_status_should_suggest_persistent_object_cache

site_status_should_suggest_persistent_object_cache

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('site_status_should_suggest_persistent_object_cache') is found 1 times:

  • /wp-admin/includes/class-wp-site-health.php line 3526
    3522
    3523
    3524
    3525
    3526
    3527
    3528
    3529
    3530
    3531
    3532
    *
     * @param bool|null $suggest Boolean to short-circuit, for whether to suggest using a persistent object cache.
     *                           Default null.
     */
    $short_circuit = apply_filters( 'site_status_should_suggest_persistent_object_cache', null );
    if ( is_bool( $short_circuit ) ) {
        return $short_circuit;
    }
     
    if ( is_multisite() ) {
        return true;

See this hook used in plugins: