wpseek.com
A WordPress-centric search engine for devs and theme authors



site_status_should_suggest_persistent_object_cache › WordPress Filter Hooks

Since6.1.0
Deprecatedn/a
apply_filters( 'site_status_should_suggest_persistent_object_cache', null )
Parameters:
  • (bool|null) $suggest Boolean to short-circuit, for whether to suggest using a persistent object cache. Default null.
    Required: Yes
Defined at:
Codex:

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.





Source

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