WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about site_status_should_suggest_persistent_object_cache

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/includes/class-wp-site-health.php apply_filters 3338 /**
* Filters whether to suggest use of a persistent object cache and bypass default threshold checks.
*
* Using this filter allows to override the default logic, effectively short-circuiting the method.
*
* @since 6.1.0
*
* @param bool|null $suggest Boolean to short-circuit, for whether to suggest using a persistent object cache.
* Default null.
*/

Hook Parameters

Parameter Type Name Description
bool|null $suggest Boolean to short-circuit, for whether to suggest using a persistent object cache.