CMS Mastering Development Wordpress

Redirect users after account verification Woocommerce

How can we redirect users after they click the verification link in their email (coming from the default Woocommerce + Woocommerce Germanized account verification) to a custom URL? Currently it takes users to their account page with a notice saying "Account verified".

The author of Germanized said I need to use at filter to change the URL but for some reason this doesn’t work 🙁 Any ideas?


add_filter( 'woocommerce_gzd_double_opt_in_successful_redirect', 'my_child_redirect_doi_customer', 10, 1 );

function my_child_redirect_doi_customer( $url ) {
  return '';

I of course would change the to the URL I need it to go to.

Leave a Reply

Your email address will not be published. Required fields are marked *