Redirect Customer after Registration
-
Hi,
I have problem with trying to redirect customers after registration. What ever I tried, simple snippet or plugins, I am unable to manage to have working redirection. I found when “New User Approve” plugin is activated it won’t work, but when I disable plugin then redirection work like a charm.
At the moment I have this snippet, please can you help me to achieve this to work.
My code:
add_filter( ‘woocommerce_registration_redirect’, ‘ss_custom_redirection_after_registration’, 10, 1 );
function ss_custom_redirection_after_registration( $redirection_url ){
// Change the redirection Url
$redirection_url = ‘https://hylbox.com/vielen-dank-fuer-die-registrierung/’;
return $redirection_url; // Always return something
}
- You must be logged in to reply to this topic.