add_action( 'wp_logout', 'kanha_change_logout_url' );

function kanha_change_logout_url($redirect_url) {

wp_safe_redirect( $redirect_url );
exit;

}