site_status_should_suggest_persistent_object_cache

site_status_should_suggest_persistent_object_cache

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('site_status_should_suggest_persistent_object_cache') is found 1 times:

  • /wp-admin/includes/class-wp-site-health.php line 3526
    		 *
    		 * @param bool|null $suggest Boolean to short-circuit, for whether to suggest using a persistent object cache.
    		 *                           Default null.
    		 */
    		$short_circuit = apply_filters( 'site_status_should_suggest_persistent_object_cache', null );
    		if ( is_bool( $short_circuit ) ) {
    			return $short_circuit;
    		}
    
    		if ( is_multisite() ) {
    			return true;
    

See this hook used in plugins: