How do I create a custom plugin?

Sometimes you'll need to add custom code to your WordPress site in order to change the functionality of Datafeedr or WooCommerce. Adding custom code to your theme's functions.php file is OK but you run the risk of deleting all of your work when you upgrade your theme.

The best way to add custom code to your website is by writing your own WordPress plugin and adding the necessary code to that file. Don't worry! We've done most of the work for you.

We've prepared a custom plugin file that you can use on your site. Here's how to get started with it.