remove_role() then add_role() – quick php script needed.
-
I need to send a wp User ID to a php script that uses the wp functions remove_role() and add_role() to change the role of the user before using a php header rediect to another site.
Probably only a few lines of lines of code, but have no idea what to do. Any help appreciated.
- The topic ‘remove_role() then add_role() – quick php script needed.’ is closed to new replies.