How can I fire a custom action when users are approved in bulk
-
Hi, I’ve made some changes on my site so that when a user is manually approved, they are added to my Discourse forum and Ontraport as well. The way I have done this is to add a line of code inside EONET_MUA_UserManager.php and Eonet_MUA_UsersListManager.php , but when I approve users in bulk my code doesn’t fire.
So I would like to know if there is a hook or filter I can apply in my functions.php to respond to the “APPROVE USER” action and thereby ensure that all users that get approved when selecting multiple users and choosing Bulk actions -> approve will also be sent to my Discourse and Ontraport systems?
If not, then could you at least possibly let me know what function I need to put my extra line of code into to ensure that the bulk approvals call my code?
Thanks so much!
- The topic ‘How can I fire a custom action when users are approved in bulk’ is closed to new replies.