site_status_persistent_object_cache_notes

site_status_persistent_object_cache_notes

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('site_status_persistent_object_cache_notes') is found 1 times:

  • /wp-admin/includes/class-wp-site-health.php line 2569
    2565
    2566
    2567
    2568
    2569
    2570
    2571
    2572
    2573
    2574
    2575
    *
     * @param string   $notes              The notes appended to the health check description.
     * @param string[] $available_services The list of available persistent object cache services.
     */
    $notes = apply_filters( 'site_status_persistent_object_cache_notes', $notes, $available_services );
     
    $result['status']       = 'recommended';
    $result['label']        = __( 'You should use a persistent object cache' );
    $result['description'] .= sprintf(
        '<p>%s</p>',
        wp_kses(