How can I fire an action after the user has been successfully activated?

Forums Email Verification for WooCommerce How can I fire an action after the user has been successfully activated?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #101245
    WPFactory Plugins
    Participant
    Plugin Author

    Hi Michal,

    Please test it with version 2.0.5. It should fix the issue.
    If you still have a problem, try to change the priority of your callback. Using 9 for example should work.

    Like this:

    add_action('alg_wc_ev_user_account_activated', 'the_function', 9, 2); 
    #101246
    Michal Grabowski
    Guest

    Thanks for a very quick response!
    I first started with checking the priority and… it worked 🙂 At first I didn’t understand why, but then I just noticed “exit” at the end of “redirect_on_success_activation” (at least in version 2.0.2). I see what you did there 😉
    Thanks again for your help.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.