wp_destroy_all_sessions

Advertisement

Summery Summery

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

Syntax Syntax

wp_destroy_all_sessions()

Source Source

File: wp-includes/user.php

 * Remove all but the current session token for the current user for the database.
 *
 * @since 4.0.0
 */

Advertisement

Changelog Changelog

Changelog
Version Description
4.0.0 Introduced.

Advertisement

Leave a Reply