WordPress at a glance
функция не описана

WP_Session_Tokens::destroy_other_sessions() protected WP 4.0.0

Destroys all sessions for this user, except the single session with the given verifier.

It's a method of the class: WP_Session_Tokens{}

Хуков нет.

Возвращает

Null. Ничего.

Использование

// protected - for code of main (parent) or child class
$result = $this->destroy_other_sessions( $verifier );
$verifier(string) (required)
Verifier of the session to keep.

Changelog

Since 4.0.0 Introduced.

Код WP_Session_Tokens::destroy_other_sessions() WP 5.5.1

<?php
abstract protected function destroy_other_sessions( $verifier );