If you need to detect if a logged in user has purchased a certain product ID, this snippet will do the trick.…
Tag:
Purchased
-
-
This time around we’ll take a look at some SQL. As you know, WooCommerce orders (same as WooCommerce products) are stored in…