Title: site_status_persistent_object_cache_notes
Published: November 2, 2022
Last modified: February 24, 2026

---

# apply_filters( ‘site_status_persistent_object_cache_notes’, string $notes, string[] $available_services )

## In this article

 * [Description](https://developer.wordpress.org/reference/hooks/site_status_persistent_object_cache_notes/?output_format=md#description)
 * [Parameters](https://developer.wordpress.org/reference/hooks/site_status_persistent_object_cache_notes/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/site_status_persistent_object_cache_notes/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/site_status_persistent_object_cache_notes/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/site_status_persistent_object_cache_notes/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/site_status_persistent_object_cache_notes/?output_format=md#wp--skip-link--target)

Filters the second paragraph of the health check’s description when suggesting the
use of a persistent object cache.

## 󠀁[Description](https://developer.wordpress.org/reference/hooks/site_status_persistent_object_cache_notes/?output_format=md#description)󠁿

Hosts may want to replace the notes to recommend their preferred object caching 
solution.

Plugin authors may want to append notes (not replace) on why object caching is recommended
for their plugin.

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/site_status_persistent_object_cache_notes/?output_format=md#parameters)󠁿

 `$notes`string

The notes appended to the health check description.

`$available_services`string[]

The list of available persistent object cache services.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/site_status_persistent_object_cache_notes/?output_format=md#source)󠁿

    ```php
    $notes = apply_filters( 'site_status_persistent_object_cache_notes', $notes, $available_services );
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-admin/includes/class-wp-site-health.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-admin/includes/class-wp-site-health.php#L2593)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-admin/includes/class-wp-site-health.php#L2593-L2593)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/site_status_persistent_object_cache_notes/?output_format=md#related)󠁿

| Used by | Description | 
| [WP_Site_Health::get_test_persistent_object_cache()](https://developer.wordpress.org/reference/classes/wp_site_health/get_test_persistent_object_cache/)`wp-admin/includes/class-wp-site-health.php` |

Tests if the site uses persistent object cache and recommends to use it if not.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/site_status_persistent_object_cache_notes/?output_format=md#changelog)󠁿

| Version | Description | 
| [6.1.0](https://developer.wordpress.org/reference/since/6.1.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fsite_status_persistent_object_cache_notes%2F)
before being able to contribute a note or feedback.