Use JsConnect to Assign User role
is there a way I could link a button coming from Wordpress to Vanilla get the user and assign a custom existing role?
Basically I want only my premium customers to have access to the premium forums I have so I was thinking of adding a custom button that only my premium users see in wordpress, I can do that, this will act as a link to the forum, when the user clicks that, we get the user email pass that to vanilla using the jsConnect maybe then add the custom role.
hopefully this makes sense
if there's a better way to do this, please tell me