Secret Drawer
A hidden drawer in wp-admin, unlocked by a secret word. Silly to find, genuinely useful to have.
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/nikmclaughlin/secret-drawer/archive/refs/heads/main.zipA hidden drawer for your wp-admin. Only those with secret knowledge can access its riches. Who knows what's inside?
Type the secret word on any wp-admin page and the secret drawer appears! Fill it with your notes, links, busts of Socrates, or your own custom cubbies. Nobody else sees it. Nobody else knows it's there.
Try it in WordPress Playground
The demo drops you straight into wp-admin.
Type the default secret word hellodolly anywhere on an admin screen
(outside a text field) and the drawer will slide in. 🤫
Requirements
- WordPress 6.4+
- PHP 7.4+
Development
No build step: plain PHP, plain JS (wp-components via
wp.element.createElement), one CSS file. No npm.
# Lint all PHP
find . -name '*.php' ! -path './vendor/*' -exec php -l {} \;
Extending
Other plugins can add their own cubbies and levers with one filter — see SECRET-DRAWER-EXTENDING.md.
License
GPL-2.0-or-later