redirect_logged_in_user
-
this function work without the plugin
function redirect_logged_in_user()
{if(is_user_logged_in){
wp_redirect(‘http://customurl’);
}
}
global $pagenow;
if( $pagenow == ‘wp-login.php’)
redirect_logged_in_user();After plugin i modify “wp-login.php” in > “login”. But now login is a URL not a page.
Can you tell me the correct function please? im not expert to use php
The topic ‘redirect_logged_in_user’ is closed to new replies.