apply_filters( ‘site_status_should_suggest_persistent_object_cache’, bool|null $suggest )

Filters whether to suggest use of a persistent object cache and bypass default threshold checks.

Description

Using this filter allows to override the default logic, effectively short-circuiting the method.

Parameters

$suggestbool|null
Boolean to short-circuit, for whether to suggest using a persistent object cache.
Default null.

Source

$short_circuit = apply_filters( 'site_status_should_suggest_persistent_object_cache', null );

Changelog

VersionDescription
6.1.0Introduced.

User Contributed Notes

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