We use the plugin WP User Manager and would like to know how to redirect a user who is already LOGGED IN if he ends up on the login page again. Currently the user sees a page saying that he is logged in followed by his name. We have found a similar issue, but not quite what we are after:
Our login is not on the homepage and only appears once he's checking out. Hence we would like to redirect any client to the cart in case he is already logged in. Please let us know what coded needs to be added to the functions.php file. Thanks for the support.