The plugin adds a new tab in your admin bar with simple but useful indications and tools.
- Displays the number of queries in your page and the amount of time to generate the page.
- Displays php memory usage, php memory limit, and php version.
- Display WP_DEBUG state and error reporting value.
In your site front-end:
- List the template and all template parts used in the current page (template parts added with
get_template_part()). Compatible with WooCommerce.
- WP_Query: click the $wp_query item will open a lightbox with the content of
$wp_query. Click the lightbox title to reload the value, click outside the lightbox to close it.
In your site administration:
- Current screen: a dropdown containing lots of things:
- Three lists of useful hooks (actions). The indicator to the right of the line tells you how many times the hook has been triggered (a "x" means the plugin doesn't know, because the hook occurs after the admin bar). A "P" means the hook has a parameter: hover it for more details. Click a hook (on its text) to auto-select its code, for example: click admin_init to select
add_action( 'admin_init', '' );.
- $...now: this dropdown contains the value of the well-known variables
- Finally, you can know the current page id and base.
You can decide who's gonna use this plugin (go to your profile page for all the settings). This way, the plugin's items won't show up to other users (your client for example).
Version 3 is not tested with old versions of WordPress yet.
Important note: browser requirement
You'll need a modern browser to use correctly this plugin. I used some CSS3 features without fallback to keep it simple (you don't work with a dinosaur, right?).