Function: wp_destroy_all_sessions

wp_destroy_all_sessions( )

Remove all session tokens for the current user from the database.

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.