WP_Session_Tokens::destroy_all_for_all_users

Advertisement

Summery Summery

Destroys all sessions for all users.

Syntax Syntax

WP_Session_Tokens::destroy_all_for_all_users()

Source 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' ) );
	}

Advertisement

Changelog Changelog

Changelog
Version Description
4.0.0 Introduced.

Advertisement

Leave a Reply