wpsc_get_logged_in_cookie()
Return LOGGED_IN_COOKIE if it doesn't begin with wordpress_logged_in to avoid having people update their .htaccess file
No Hooks.
Return
null
. Nothing (null).
Usage
wpsc_get_logged_in_cookie();
wpsc_get_logged_in_cookie() wpsc get logged in cookie code WPSCache 1.12.4
function wpsc_get_logged_in_cookie() { $logged_in_cookie = 'wordpress_logged_in'; if ( defined( 'LOGGED_IN_COOKIE' ) && substr( constant( 'LOGGED_IN_COOKIE' ), 0, 19 ) != 'wordpress_logged_in' ) $logged_in_cookie = constant( 'LOGGED_IN_COOKIE' ); return $logged_in_cookie; }