• Multitude of boxes stacked in a market

    Managing Inventory for WooCommerce Subscriptions

    In this article, I’m exploring strategies to ensure that subscription fulfilment runs smoothly.


  • Boxes at a door

    Recurring Revenue with Subscriptions

    Photo by Curology on Unsplash It’s no wonder that recurring revenue is the holy grail of freelancers and small businesses alike. With a recurring income you can sleep that little bit easier knowing that all (or at least some) of your monthly costs are covered, and focus on growth. The types of businesses that have…


  • Ninja Form CSS source code

    Fix when Ninja Forms CSS styling only shows to logged-in admins

    So today I scoured the internet aka StackOverflow for help on why my Ninja Form CSS did not display unless I was logged in as admin. Found a few devs with the same issue, but no solution. So I did what I should have done straight away and looked at the Ninja plugin source code.…


  • PHP Basics: Control Structures

    PHP control structures are something you will encounter frequently when working with WordPress. In this article I give a short overview of the available controls followed by common WP examples. Control Structures Any PHP script is built out of a series of statements. A statement can be an assignment, a function call, a loop, a…


  • PHP Basics: Arrays

    Arrays are very common in PHP and if you do any type of coding in WordPress you’re likely to encounter them. In this article I explain the basics of what an array is and how to work with them.


  • The silent disappearance of the WooCommerce compatibility upgrade notice

    A murder mystery hunt for the missing WooCommerce compatibility updgrade notice on the plugins update page.


  • WP Plugin Development: Showing an admin message after activation

    For the plugin I’m developing I wanted to show a message after activation to prompt the admin to enter the licence key and provide a direct link to the Settings page where they key needs to be added. My first attempt was to use the admin_notices action like so: But this action does not work…


  • Customising “View Details” plugin popup with Easy Digital Downloads

    During the development of my “SCW Stock Control for WooCommerce” plugin I wanted to improve the appearance of the popup you see when clicking “view details” link on the WP Admin > Plugins page. In this article I explain how I arrived at the popup as shown below. How to add a banner and plugin…


  • Easy Digital Downloads not showing updates

    During the development of my new plugin SCW Stock Control for WooCommerce I could not get the plugin to show the available update. Checking the official documentation did not provide a solution, all settings were correct. So looking at the code I realised that EDD caches the version number for 3 hours in the options…


  • Snippet: Using ?? / Null coalescing operator in PHP 7

    Welcome to Snippets! Like most I struggle to publish blog posts regularly, so I’ve decided to publish short snippets whenever I have a “why on earth didn’t I know this / do this sooner?” moment. Working with client sites I tend to be very conservative in my use of new features as I don’t control…