add_action and set_role
Is it possible to add an action when a role is set or created for a user ? I looked through the code, the forum and Google but could not find a way of doing it. set_role is obviously a method of WP_User. Is it possible to add an action to a method ?
Thanks for your help.
- The topic ‘add_action and set_role’ is closed to new replies.