How to Check If One or More Users Are Logged in using Cookie in WordPress?
WordPress provides an API is_user_logged_in() to check if any user is loggin, but unfortunately, it is not directly available when you write plugins e.g. Plugins are loaded before pluggable.php …