Created
September 13, 2012 01:25
-
-
Save franz-josef-kaiser/3711215 to your computer and use it in GitHub Desktop.
Collect & display data from current admin screens contextual hooks and from which hook on some globals are available.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MOVED TO A REPO NOW: https://github.com/franz-josef-kaiser/current-admin-info |
@chrisguitarguy Somewhere on WPSE I already pointed that out. While reading your comment, I thought about two possibilites: Shortening the output of var_export()
and cutting it off at, let's say 50 characters. Another way would be to invoke js and simply toggle the visibility on click.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is really freakin' cool.
One issue: I get a lot of
array to string conversion
warnings on the globals class due to some global variables being an array. I changed it a bit to usevar_export
. Prettier printing, but it can make the help area really (REALLY) long.https://gist.github.com/3719649#L148