wecodemore/current-admin-info

Displays info about the current admin screen and its globals, contextual hooks, etc.

2.0.0 2014-11-19 22:37 UTC

This package is not auto-updated.

Last update: 2024-11-19 03:29:21 UTC


README

GitTip to support us Latest Stable Version Total Downloads Latest Unstable Version License

Displays info about the current admin screen and its globals, contextual hooks, etc.

The info appears in new tabs in the »Contextual Help«-panel in the upper right corner of an admin screen.

The update to 2.0 took me ~4 hours to write (including Readme, Wiki, Screenshots, etc.). I hope you appreciate the time that goes into providing freely available code. If you do, then just hit the GitTip button above or donate something via my site. Thank you.

Currently available info tabs:

  • Contextual hooks - all hooks that have »context«, the $hook_suffix in their name.
  • Set Globals: Arrays/Objects are hidden and shown on click (js).
  • Current screen info: Everything that the $current_screen object contains and isn't private.

Written and maintained by Franz Josef Kaiser.


The contextual hooks tab.


The available and set globals tab. Closed Arrays/Objects


The available and set globals tab. Showing an open Array/Object


The current screen tab.

based on an idea by @StephenHarris here.

Extending with a child plugin

We now have a dedicated Wiki Page to explain this task.