Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @dbentzen

    Currently, Login Customizer doesn’t have this functionality of redirecting to a page after login however we have noticed this feature and will add it in the next update as well. ?

    Plugin Support Abdul Wahab

    (@abdulwahab610)

    Hey, @dbentzen

    Do you want to redirect user to WC login form instead of WP login page?
    If yes, you can use the Login Init Hook.

    For this, use the following code snippet into your child themes functions.php

    add_action( 'login_init', 'user_redirect_login_init' );
    function user_redirect_login_init() {
         if( ! is_user_logged_in() ) {
            wp_redirect( '/my-account' );
            exit;
          }
    }

    Thank you.

    • This reply was modified 3 years, 9 months ago by Abdul Wahab.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Login Redirect’ is closed to new replies.