WooCommerce Redirect After Login

Today we are going to discuss WooCommerce Redirect After Login. At various times we need to redirect the user to a specific page like a Home page or any other page after login. Here, we will guide you on how to redirect the user after login on to a specific page in WooCommerce.

Below is an example:

add_action('woocommerce_login_redirect','qaisarsatti_login_redirect');

  function 'qaisarsatti_login_redirect'(){

    return ( 'redirect URL here' );
   
   

  }

Search

Recent Blogs

Categories

Archives

Archives

Tags