Hi,
I would like the user to group when they purchase something in my woocommerce website.
I already know the woocommerce hooks. However I do not know the api or function in wpforo to add user to wpforo user group.
Is the user group is just a user meta in wordpress ?
If it is what is the meta key I need to use ?
or Do I need to add some more extra step to add user to wpforo user group ?
Please help suggest.
wpForo already does this. When user register on checkout page and purchase a product he/she automatically get Customer usergroup. This example you can see on gVectors Team Store here:
https://gvectors.com/forum/wpforo-advanced-attachments/uploader-do-not-work/
As you can see the user Usergroup is Customer (orange badge under avatar).
Thank You for Reply.
I already know about the customer group however I need to add the user to the other specific user group since I have many products each product will provide access to specific forum only.
Is there API or function according to this scenario ?
I'm really sorry but i have no clue for you.