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-04-23 00:54:46 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.

68747470733a2f2f7261772e6769746875622e636f6d2f6672616e7a2d6a6f7365662d6b61697365722f63757272656e742d61646d696e2d696e666f2f6d61737465722f73637265656e73686f742d312e706e67


The available and set globals tab. Closed Arrays/Objects

68747470733a2f2f7261772e6769746875622e636f6d2f6672616e7a2d6a6f7365662d6b61697365722f63757272656e742d61646d696e2d696e666f2f6d61737465722f73637265656e73686f742d322e706e67


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

68747470733a2f2f7261772e6769746875622e636f6d2f6672616e7a2d6a6f7365662d6b61697365722f63757272656e742d61646d696e2d696e666f2f6d61737465722f73637265656e73686f742d332e706e67


The current screen tab.

68747470733a2f2f7261772e6769746875622e636f6d2f6672616e7a2d6a6f7365662d6b61697365722f63757272656e742d61646d696e2d696e666f2f6d61737465722f73637265656e73686f742d342e706e67

based on an idea by @StephenHarris here.

Extending with a child plugin

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