WP WordPress Logout
<a href="<?php echo wp_logout_url( get_permalink() ); ?>" title="Logout">Logout</a>
Weary Wildebeest
<a href="<?php echo wp_logout_url( get_permalink() ); ?>" title="Logout">Logout</a>
wp_destroy_current_session();
wp_clear_auth_cookie();
wp_set_current_user( 0 );