W3cubDocs

/WordPress

WP_Session_Tokens::destroy_all_for_all_users()

Destroys all sessions for all users.

Source

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

final public static function destroy_all_for_all_users() {
		/** This filter is documented in wp-includes/class-wp-session-tokens.php */
		$manager = apply_filters( 'session_token_manager', 'WP_User_Meta_Session_Tokens' );
		call_user_func( array( $manager, 'drop_sessions' ) );
	}

Changelog

Version Description
4.0.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_session_tokens/destroy_all_for_all_users