wordpress programmatically logout

Solutions on MaxInterview for wordpress programmatically logout by the best coders in the world

showing results for - "wordpress programmatically logout"
Louise
25 Nov 2019
1<a href="<?php echo wp_logout_url( get_permalink() ); ?>" title="Logout">Logout</a>
2
Emilio
07 Oct 2017
1wp_destroy_current_session();
2wp_clear_auth_cookie();
3wp_set_current_user( 0 );
4