Skip to content

Instantly share code, notes, and snippets.

@franz-josef-kaiser
Created September 13, 2012 01:25
Show Gist options
  • Save franz-josef-kaiser/3711215 to your computer and use it in GitHub Desktop.
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.
MOVED TO A REPO NOW: https://github.com/franz-josef-kaiser/current-admin-info
@franz-josef-kaiser
Copy link
Author

@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