Is it possible to tell if a user is logged into WordPress from looking at the cookies which are set?
Is it possible to tell if a user is logged into WordPress from looking at the cookies which are set on a site? If not, how could I add hooks to the login success and logout actions and set my own cookies? Answer You could use Javascript <script type=”text/javascript”> function getCookie(c_name) { var i,x,y,ARRcookies=document.cookie.split(“;”); for … Read more