Function: wp_destroy_other_sessions

wp_destroy_other_sessions( )

Remove all but the current session token for the current user for the database.

WordPress Developer Newsletter

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