mirror of
https://github.com/felixfoertsch/wordpress-dev-env.git
synced 2026-04-19 07:48:38 +02:00
Initial commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
class Debug_Bar_Cache_Lookup extends Debug_Bar_Panel {
|
||||
|
||||
function init() {
|
||||
$this->title( esc_html__( 'Cache Lookup', 'dbcl' ) );
|
||||
}
|
||||
|
||||
function prerender() {
|
||||
global $wp_object_cache;
|
||||
$this->set_visible( is_object( $wp_object_cache ) && method_exists( $wp_object_cache, 'stats' ) );
|
||||
}
|
||||
|
||||
function render() {
|
||||
include DBCL_PATH . 'views/searchform.php';
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user