• Hi there,

    I have updated my WP today AND changed the login domain from “wp-login” to “anmelden”.

    Ever since the function to redirect a user after the logs out doesn’t work any longer.

    I’ve used this function:

    //* Redirect WordPress Logout to Home Page
    add_action('wp_logout',create_function('','wp_redirect(home_url());exit();'));

    Do you have an idea on how to fix that?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP 4.5 redirect after logout not working’ is closed to new replies.