Uses
Uses | Description |
---|---|
wp-includes/meta.php: delete_metadata() | Deletes metadata for the specified object. |
Destroys all sessions for all users.
File: wp-includes/class-wp-user-meta-session-tokens.php
public static function drop_sessions() { delete_metadata( 'user', 0, 'session_tokens', false, true ); }
Version | Description |
---|---|
4.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_user_meta_session_tokens/drop_sessions