Home › Forums › Email Verification for WooCommerce › Do you have hook I can use after the activation link has been clicked?
- Support forum for the Email Verification for WooCommerce.
- This topic has 5 replies, 3 voices, and was last updated 1 year, 7 months ago by Zohaib.
October 22, 2021 at 6:22 pm #101404RalphGuest
Do you have a hook I can use to run some code after the activation link has been clicked?October 23, 2021 at 11:15 pm #101405PabloModeratorPlugin Support
Hi Ralph. We have a hook that is triggered after the user has clicked on the activation link and the account was verified successfully:
The first parameter is the user idOctober 24, 2021 at 1:41 pm #101406RalphGuest
Why don’t you have a list of all the hooks, global variables etc. I woyldt be so much easier?October 24, 2021 at 11:20 pm #101408RalphGuest
I had this problem, and I still have:
How do I show the activate message (“Thank you for your registration. Your account has to be activated before you can login. Please check your email.”) to the user after they register?
Right now when users register they are just redirected to frontpage.
That was what I wrote earlier, but I saw a couple of posts that told me that this plugin actually have a problem by showing this activate message (“Thank you for your registration. Your account has to be activated before you can login. Please check your email.”) when the validade email is sent. I have 2 problems, 1) my site redirects to the frontpage and the activate message is never shown.
What do I do?
If you have a hook when you send the validation email, maybe I can set a notification myself. Do you?
Can I have a list of your hooks for this plugin and a list of variables to use?October 25, 2021 at 4:04 pm #101409ZohaibParticipant
In the plugin’s settings General tab, please try and enable the Redirect on failure option. You can leave the Custom redirect URL blank to redirect to the same page.
You can also use the shortcode
to show the verification notice on other pages.
Please let me know if you continue having trouble with this.October 29, 2021 at 2:57 am #101407PabloModeratorPlugin Support
You’re right. I just created a developers tab with a small usage example of the
alg_wc_ev_user_account_activatedaction hook. Please take a look at it.
- You must be logged in to reply to this topic.