Using WooCommerce customer functions to get order counts, spend totals, and check bought products

customer shopping tablet

WooCommerce offers a wide range of customer-related functions that can be beneficial in your custom development projects. I find the functions in this post particularly useful: they allow you to retrieve order counts and total spending and determine if a customer bought a specific product. wc_get_customer_order_count This function returns the amount of orders a specific …

Read More

How to add code snippets in WordPress

add code snippets wordpress

When researching how to customise your WordPress website from tutorials online, you’ll often come across recommendations to add a code snippet to your website. There a few different options of how to add code snippets, which I’ll highlight in this blog post. Read on to find out how to add code snippets in WordPress. What …

Read More