• Resolved Oleksandra

    (@fanficcomua)


    Hi! When the first time I was configuring tis plugin I found a logout url. I tested it, and it really send me after logout to the page I add a url. But now I found that after logout it redirects me to standart wordpress login, and I cannot find where to put the logout url.

Viewing 1 replies (of 1 total)
  • Plugin Author Claude

    (@claudeschlesser)

    Hello,

    the logout url is handled directly by WordPress. You can customize it using a filter. Here an example:

    add_filter( 'logout_url', 'wp_logout_url' );
    function wp_logout_url ( $default ) 
    {
        // set your URL here
        return is_admin() ? 'https://example.com/custom' : $default;
    }
    • This reply was modified 2 years, 9 months ago by Claude.
Viewing 1 replies (of 1 total)
  • The topic ‘Logout url’ is closed to new replies.