- Introduction to WordPress Plugin Development 101
- Plugin Development 101 – What Makes a Plugin?
- Plugin Development 101 – General Best Practices
- Plugin Development 101 – An Intro to Filters
- Plugin Development 101 – Intro to Actions
- Plugin Development 101 – Registering a Custom Post Type
- Plugin Development 101 – Intro to Short Codes
- Plugin Development 101 – Intro to Loading Scripts and Styles
- Plugin Development 101 – Introduction to Adding Dashboard Menus
- Plugin Development 101 – Separating Your Plugin into Multiple Files
- Plugin Development 101 – Your First OOP Plugin
- Plugin Development 101 – Dissecting the Featured Comments Plugin
Having an understanding of best practices that should be followed when writing a WordPress plugin is nearly as important as understanding how to write the plugin itself. The advantages of following general best practices are huge, and there is not a single valid reason why best practices should not be followed. This part of Plugin Development 101 will walk through some of these best practices and will explain why they are so important.
The best practices described in the video should be followed in all phases of your plugin development and should be followed regardless of the size of your plugin.
If you find these best practices difficult or tedious to follow, I encourage you to stick with it and condition your mind to use them anyway. After a short period of time, you will discover that these practices become second nature and you won’t even have to think about applying them.
The best practices covered in the video are:
- Code Formatting
- Logical Code / File Organization
- Meaningful Naming Conventions
- WordPress Coding Standards
Links referenced in the video: