Support » Plugin: Custom Login Page Customizer » Login Redirect

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Zainab Afaq

    (@wpzainab)

    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 weeks, 4 days ago by Abdul Wahab.
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.