WP_User_Meta_Session_Tokens::drop_sessions()
Destroy all session tokens for all users.
Source
File: wp-includes/class-wp-user-meta-session-tokens.php
public static function drop_sessions() {
delete_metadata( 'user', 0, 'session_tokens', false, true );
}
Changelog
Version | Description |
---|---|
WP-4.0.0 | Introduced. |