I’ve activated a simple function to redirect users after logout:
wp_redirect( home_url() );
It works only if your plugin is deactivated.
What I can do to have it working?
- The topic ‘Logout redirect doesn't work when plugin is active’ is closed to new replies.