Replies: 1 comment
-
Send a Pull Request to add a new Event trigger to use CodeIgniter\Events\Events;
...
Events::trigger('register', $user); Could be "new_user" as well. Please include a test case - checkout the event trigger test for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have added the ability to register a Wordpress user via an API from my Codeigniter app.
I would like to call this after a user successfully registers using MythAuth. But I am not sure how!
I guess I may be able to create my own AuthController.php to override Myth's but I think I would have to re-create the attemptRegister() function and I dont really want to do that.
Is there any way of calling a custom function after AuthController->attemptRegister?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions