Skip to main content

How to redirect WP-Members plugin after Log In redirect to Other Page?

Open Your Function.php File and paste this below code.

add_filter( 'wpmem_login_redirect', 'my_login_redirect', 10, 2 );
function my_login_redirect( $redirect_to, $user_id ) {
    
    // This will redirect to https://yourdomain.com/your-page/
    return home_url( '/your-page/' );

}

 

Leave a Reply

avatar
  Subscribe  
Notify of