For admins, developers, and support staff, Debug This provides ton of information about your WordPress installation, all from the front-end admin bar..
For example, when viewing single post, you can see list of post attachments.
Example add debug extension, , 'foo callback, ' Filters And Actions ) function foo callback { global $wp actions $debug = print r return $debug }.
There are few filters you can use to customize Debug This to your needs debug this template receives $template arg Use your own template debug this default mode receives $mode arg Alters the mode for DT admin button link. debug this output receives $output, $mode args Filter debug content before it's rendered..
To access Debug This JS functionality, enqueue your custom script with the dependency set to debug-this.
Our website is community website, and we can't expose Admin Bar on the front end, even for few minutes.
In order for this plugin to function, Admin Bar must be enabled on the front end, for at least Administrator level user.
The only way we could do this, is by disabling the Hide Admin Bar plugin, and installing another plugin.
We don't have the luxury of exposing our site for any amount of time, and we're not going to spend the time cloning our site to sandbox and removing and re-adding some Admin Bar plugin that will work.
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Read more