WP_Session_Tokens::drop_sessions() WordPress Method

The WP_Session_Tokens::drop_sessions() method is used to destroy all sessions for a user. This is typically used when a user logs out or when their account is deleted.

WP_Session_Tokens::drop_sessions() #

Destroys all sessions for all users.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.