I want to programmatically add the current user to a role and also remove the current user from a role in a php page i created . am really stuck. thanks in advance
Leave a Reply
You must be logged in to post a comment.
I want to programmatically add the current user to a role and also remove the current user from a role in a php page i created . am really stuck. thanks in advance
You must be logged in to post a comment.
You can do that like this :
Just fleshing out the previous answer using an example with my code.