I have a WordPress as well as a PHP custom application installed on a same server. Suppose, the wordpress installation is at www.mywordpress.com and the PHP app is at www.app.mywordpress.com.
When I login to www.app.mywordpress.com and load the WordPress website in the same browser, I should see “you are looged in” on wordpress header area (I can write the markup) - but how to check if I have logged-in or logged-out on the PHP custom app in WordPress?
Please note that I am not asking something related to
is_user_logged_in function of WordPress.
Read more here: How to check login session of a PHP app in a WordPress site?