On this page
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
File: wp-admin/includes/class-wp-site-health.php. View all references
$short_circuit = apply_filters( 'site_status_should_suggest_persistent_object_cache', null );
Related
Used By
| Used By | Description |
|---|---|
| WP_Site_Health::should_suggest_persistent_object_cache() wp-admin/includes/class-wp-site-health.php | Determines whether to suggest using a persistent object cache. |
Changelog
| Version | Description |
|---|---|
| 6.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/site_status_should_suggest_persistent_object_cache