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

This site uses Akismet to reduce spam. Learn how your comment data is processed.