wp_logout not redirecting using wp_logout_url() and wp_redirect()
The correct method for changing the logout redirect is the logout_redirect filter: /** * Filters the log out redirect URL. * * @since 4.2.0 * * @param string $redirect_to The redirect destination URL. * @param string $requested_redirect_to The requested redirect destination URL passed as a parameter. * @param WP_User $user The WP_User object for the … Read more