Automatic Logout on from another active session

Answer has been updated because don’t need to write function, only use wp_destroy_all_other_sessions function with initlike this

add_action('init', 'wp_destroy_all_other_sessions');

Developed its plugin and publish on WordPress Download here :One Active session

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)