wp_destroy_current_session

Advertisement

Summery Summery

Remove the current session token from the database.

Syntax Syntax

wp_destroy_current_session()

Source Source

File: wp-includes/user.php

/**
 * Retrieve a list of sessions for the current user.
 *
 * @since 4.0.0
 *
 * @return array Array of sessions.
 */

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.