If you work with WordPress you’ve most likely worked with its options. The WordPress Option API is pretty self explaining and easy to use. The WordPress Transient API is a little less known but also a powerful API that’s definitely worth taking a look at if you’ve never heard of it before.
Continue Reading…
Category Archives: WordPress Development
The importance of WordPress coding standards
With the size of the WordPress project and the gigantic ecosystem created by it, it’s important we (as developers) do certain things the same. Following the WordPress coding standards makes us ‘format’ our code all in the same way, while still giving us all the room for our own creativity. In this post I want to highlight some PHP coding standards, if you’re interested in the full list you can view the Handbook page on WordPress PHP coding standards here.
Continue Reading…
Adding WooCommerce settings
Instead of writing up another ‘how to’ post explaining what every filter does, I decided to just share a class I’ve created that can be reused for adding your own settings to WooCommerce with settings tab to the WooCommerce settings page.
Continue Reading…
Display all hooks that run on your page
Add the following to your functions.php to display a sequential list of all actions that run on the page you’re viewing.
Continue Reading…
Increase your WordPress plugin performance
Poor plugin performance can be caused by many things, but there is one thing that will definitely increase your plugin’s performance: conditional loading. Allot of WordPress plugins load their code on every page, or actually on every request.
Continue Reading…