wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_destroy_all_sessions › WordPress Function

Da4.0.0
Deprecaton/a
wp_destroy_all_sessions ( Nessun parametro )
Definito a:
Codex:

Removes all session tokens for the current user from the database.



Sorgenti

function wp_destroy_all_sessions() {
	$manager = WP_Session_Tokens::get_instance( get_current_user_id() );
	$manager->destroy_all();
}