wp-cli
-

WordPress Nonce 101: What are they and why do they matter?
If your plugin has its own settings page and performs any kind of CRUD (Create, Read, Update, Delete) action, then you should be using nonces. If you’ve never heard of…
-

SWPD #014: Does Your Plugin Need a Custom Database Table?
WordPress has grown to be a huge portion of the internet and therefore has been proven to scale really well in the right conditions. At its core, it’s just a…
-

SWPD #013: How to Make Breaking Changes In your Plugin
If you’ve created a plugin in the WordPress repository, you’ve likely been at a point where you need to modify or remove a publicly accessible function. By publicly accessible I…
-

SWPD #012: Semantic Versioning 101
If you have a plugin in the WordPress repository, the plugin team requires that you have a version number. However, I see a lot of plugins declaring arbitrary version numbers…
-

SWPD #011: The Four Levels of Automated Testing
This week, I’m going to walk you through the four levels of automated testing. Each level of testing covers a different aspect of the overall quality of your plugin code.…
-

SWPD #010: How to Add Acceptance Tests to Your WordPress Plugin
This week, I’m going to walk through a testing setup that you can implement in about 20 minutes and a test that will cover the entirety of your plugin right…
-

SWPD #009: How to Audit the Codebase of Your WordPress Plugin
This week I’m going to show you how to do an audit for the codebase of a WordPress plugin. A checklist of areas where you can steadily make improvements helps…
-

SWPD #008: Namespacing WordPress Hooks in Plugins
This week, I’m going to show you one of the best ways I’ve found to write quality hook names for your plugin’s actions & filters. I’ve been working on a…
-

SWPD #007: How to Use Composer to Simplify Plugin Development
This week, I’m going to explain how you can set up Composer for WordPress plugins. Plugins can be as simple as a single PHP file with a few functions. But…
-

SWPD #006: Use Modern PHP in Your WordPress Plugins
Today, I’m going to show you that plugins should be elegant PHP applications that interface with WordPress. PHP is still a vibrant and powerful language—even if the discussions on social…
