Support » Plugin: New User Approve » Redirect users after registration

  • Resolved emilmlorenzen


    I am using your plugin so that WooCommerce accounts need to be approved. And it’s working great. My only issue is, I need to redirect people after they attempt to register, so that they get to a page where I tell them more about the process and when they can expect to hear from us.

    But my code is not working with the plugin. Whenever I turn the plugin off it redirects perfectly, whenever I use the plugin it doesn’t redirect.

    `/* Redirect efter tilmelding */

    add_filter( ‘woocommerce_registration_redirect’, function( $var ) {
    if ( !empty( $var ) ) $var = get_page_link( 963 );

    return $var;

Viewing 5 replies - 1 through 5 (of 5 total)
  • Here you go:

    add_action('wpforo_register_form_end', 'nua_registeration_add_redirect_field');
    function nua_registeration_add_redirect_field(){?>
    <input type="hidden" name="redirect_to" value="">
    Thread Starter emilmlorenzen


    Thank you so much for responding, Kirstie! I really appreciate all help.

    Unfortunately, the snippet does not work. I tried adding it and then creating a new account. Nothing happens, I just remain on the WooCommerce my account page.

    Is there perhaps a typo or an error in there?

    Note: I added the right URL –

    It works on my site, but I’m not using Woocommerce and I know WC can cause issues.

    Take a look at this article – it’s about using the plugin with WC and may give you some ideas until the plugin Devs reply on here:



    Hi @emilmlorenzen,

    Thanks for your patience,

    Kindly add the below code to your child theme’s functions.php file to redirect users after registeration.

    add_filter( 'woocommerce_registration_auth_new_customer', '__return_true' );
    add_filter( 'woocommerce_registration_redirect', function( $var ) {
    if ( !empty( $var ) ) $var = get_page_link( 502 ); // (502) this is sample page no
    	return $var;




    Hi @kirstie99,

    Due to a lack of activity, we are going to mark this thread as resolved. If you have any other issues, please feel free to open a new thread.

    Have a great day!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Redirect users after registration’ is closed to new replies.