Summery Summery
Remove all but the current session token for the current user for the database.
Syntax Syntax
Source Source
File: wp-includes/user.php
* Remove the current session token from the database. * * @since 4.0.0 */ function wp_destroy_current_session() { $token = wp_get_session_token(); if ( $token ) {
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |