Function: wp_destroy_current_session

wp_destroy_current_session( )

Remove the current session token from the database.

WordPress Developer Newsletter

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