Sometimes WP_DEBUG and debug.log isn’t enough to track down a problem. Then I need to debug on a local installation and use Xdebug to examine variables in the code.
Send a daily order status email to WooCommerce store owner. This is primarily to highlight orders that may need attention.
The WooCommerce API was very slow for retrieving stock information for variations so I went directly to the database and it was super fast!
Automatically create an order with a free download when a customer account is created.
Programmatically creating a WooCommerce order for a downloadable product is a little more tricky than for a simple product.