This tutorial series is a look into the best practices for developing WordPress plugins. Who is this for? This tutorial is perfect for anyone who: Has dabbled in PHP coding. Perhaps you have added a few snippets of code to your child theme’s functions.php file. Has written a custom plugin, but want some guidance to […]
Intro to WordPress Plugin Development
Intro to WordPress Plugin Development: Best Practices
In this first part of the Intro to WordPress Plugin Development series, we’ll be taking a look at some best practices for coding your plugin. Specifically, we will take a look at these areas: How to set up the plugin header Formatting your code Use of meaningful names in files and code File organization How […]
Intro to WordPress Plugin Development: Using Filters
In the first part of the Intro to WordPress Plugin Development series, we covered how to organize your plugin’s files, and the importance of unique naming (folders, files, and functions). In this part of the series, we’ll cover how to use filters. What are WordPress filters? According to the WordPress codex: Filters are functions that WordPress […]
Intro to WordPress Plugin Development: Using Actions
If you have been following along with the Intro to WordPress Plugin Development series, you would have just learned about how to use filters in your plugin. Next, we’ll look at actions and how they can be used in your plugin. What is a WordPress action? According to the WordPress codex: Actions are triggered by […]
Intro to WordPress Plugin Development: Register Custom Post Types
So far in the Intro to WordPress Plugin Development series, we’ve talked about properly formatting code, and how to use filters and actions. Next, we’ll look at creating our own custom post type. What are WordPress custom post types? WordPress comes with several different post types, like posts and pages. Since WordPress started off as […]