Woocommerce change/update user role on product purchase

  • home
  • /
  • WordPress
  • /
  • Woocommerce change/update user role on product purchase

Below function provides a feature to change the user’s role on the purchase of a product in woocommerce. Example function will change the existing ‘Subscriber’ to the role of ‘Customer’.

  • Share:

Leave a Comment

sing in to post your comment or sign-up if you dont have any account.

three × 2 =

This site uses Akismet to reduce spam. Learn how your comment data is processed.