Update user meta field after WooCommerce checkout – WordPress
I use WooCommerce with WordPress and I would like to update a custom field for the purchase of a single product at the time of payment validation with the display of the thank you page. I started from this code…