I have a made application over WordPress for premium user where user can see page after logging into his account.
but there is issue that same user can login form multiple computer, so I want to make function for the user session, when user login in WordPress then expires all other sessions,
By this way I can prevent miss use of my WordPress application.
I want a function that would make only one current active session.