WP_User_Meta_Session_Tokens::drop_sessions

Advertisement

Summery Summery

Destroys all sessions for all users.

Syntax Syntax

WP_User_Meta_Session_Tokens::drop_sessions()

Source Source

File: wp-includes/class-wp-user-meta-session-tokens.php

	public static function drop_sessions() {
		delete_metadata( 'user', 0, 'session_tokens', false, true );
	}

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.