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

In this article

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

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

$notesstring
The notes appended to the health check description.
$available_servicesstring[]
The list of available persistent object cache services.

Source

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

Changelog

VersionDescription
6.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.