WP_Session_Tokens::destroy( string $token )

In this article

Destroys the session with the given token.

Parameters

$tokenstringrequired
Session token to destroy.

Source

final public function destroy( $token ) {
	$verifier = $this->hash_token( $token );
	$this->update_session( $verifier, null );
}

Changelog

VersionDescription
4.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.