Introducing commonWP

For years, Use Google Libraries was my favorite plugin because I liked what it did and I liked how it did that. WordPress is open source and it uses other open source JavaScript libraries (like jQuery, for example) and when it includes those libraries in a page, they are the same everywhere, on all sites… Read more Introducing commonWP

Use WordPress Must-Use (MU) Plugins for Quick Code Snippets

Many guides, tutorials, forum posts, or other resources that have any code snippet say something like “Add it to your theme’s functions.php”. Some may mention that you can create custom plugin just for this. But I didn’t see another, better way that you should use: Must-Use (MU) plugins. Must-Use plugins are a little different than… Read more Use WordPress Must-Use (MU) Plugins for Quick Code Snippets

Make WordPress PHP Class Instances Available to Developers

Removing hook that uses function or static method as a callback is simple with remove_filter() or remove_action() functions because you know exactly what callback was attached to some hook. It gets a little tricky when your callback is an object and that object is not made available so you can’t unhook it. Consider following, simple… Read more Make WordPress PHP Class Instances Available to Developers