Help with TML action hook
-
Hello there,
firstly let me thank you for your work, TML plugin is really great. Secondly, here is a little issue that I’ve encountered and I will need some help.
I am trying to hook some extra functionality to the plugin. I need to use the user moderation module with email account activation and hook my custom function after the user has activated his account successfully. I also need the user’s id passed to my function. So is there any build in hook that can do this for me or any other workaround?
Note: I’ve tried with WordPress’ ‘user_register’ action hook, but since I am changing the user role under certain conditions, this doesn’t work for me. I think my changes get overwritten by the Pending role, which comes with the user moderation module.
The topic ‘Help with TML action hook’ is closed to new replies.