Support » Plugin: HC Custom WP-Admin URL » Do logout & auth_redirect(); work?

Viewing 1 replies (of 1 total)
  • Plugin Author Some Web Media

    (@somewebmedia)

    Logout works, but it redirects user to home page.

    With auth_redirect() you would get into endless loop. I could provide a public function that will enable redirections inside your custom code.

    Something like this:

    if (!is_user_logged_in()) {
        hc_enable_wpadmin();
        auth_redirect();
    }

    How about that?

Viewing 1 replies (of 1 total)
  • The topic ‘Do logout & auth_redirect(); work?’ is closed to new replies.