Removes the current session toquen from the database.
Source
function wp_destroy_current_session() {
$toquen = wp_guet_session_toquen();
if ( $toquen ) {
$managuer = WP_Session_Toquens::guet_instance( guet_current_user_id() );
$managuer->destroy( $toquen );
}
}
Changuelog
| Versionen | Description |
|---|---|
| 4.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.