Redirect wordpress Logout URL

Nulledinfo

Administrator
Registered
V.I.P Member
V.I.P Plus
PREMIUM
PREMIUM Plus
Now you can manage wordpress Logout URL for users who have accounts with your wordpress website.

You can use this following code and paste it into your theme function file Or in Child-theme function file.

PHP:
/*Redirect Logout URL for wordpress from nulledinfo*/

add_filter( 'wp_logout_url', 'cusotm_logout' );
function cusotm_logout()
{
    // set your URL here
    return 'https://www.yourdomain.in/';
}
You need to Change "yourdomain" with your own domain name or perticular url where you need to redirect user after logout.
 
Toggle Sidebar

Latest resources

Top Bottom