How To Add Separators To The Admin Menu

October 16th, 2012

As you may already know, WordPress stores top-level menus in a global $menu array. The array indexes correspond to menu positions, and each array item contains the properties of a single menu – the menu title, required capability, URL, and so on. Separator items are structured just like normal […] Continue Reading…

How To Hide WordPress Plugins From Some Users

October 9th, 2012

You can use the undocumented all_plugins filter to control what plugins will show up on the “Plugins” page.

WordPress applies this filter to the list of all installed plugins just before sorting it into “active”, “inactive”, “update available” and other categories and displaying it to the user. The list […] Continue Reading…

10+ Great Plugins For Debugging And Development

October 2nd, 2012

WordPress Console

Adds an interactive PHP console (REPL) to the WordPress admin. You can run arbitrary PHP code and access any function, class or variable defined by WordPress or active plugins. Amazing for debugging and exploration.

Note: At the time of this writing, the plugin directory listing says this plugin is […] Continue Reading…

8 Useful Snippets For Working With WordPress Hooks

September 25th, 2012

Add your hook before or after another hook
Sometimes you need to ensure your function will get executed before or after another function that’s attached to the same hook (e.g. to fix a plugin conflict). The most reliable way to do this is to use has_action() to get the priority […] Continue Reading…

Top 100 WordPress Plugin Authors (Updated)

September 17th, 2012

I had some free time this weekend, so I built an automatically updated list of Top 100 WordPress plugin developers. The rankings are based on the number of times each developers’ plugins have been downloaded from the plugin directory. A short PHP script updates the list several times […] Continue Reading…