Woocommerce change/update user role on product purchase

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

Below function provides feature to change user’s role on purchase of product in woocommerce. Example function will change 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.

four × four =

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