title( __('Object Cache', 'debug-bar') ); } function prerender() { global $wp_object_cache; $this->set_visible( is_object($wp_object_cache) && method_exists($wp_object_cache, 'stats') ); } function render() { global $wp_object_cache; ob_start(); echo "
"; $wp_object_cache->stats(); echo "
"; $out = ob_get_contents(); ob_end_clean(); echo $out; } }