AUTH_COOKIE

The WordPress Core AUTH COOKIE constant.

Value (string)

'wordpress_' . COOKIEHASH 

Usage

  1. if ( defined( 'AUTH_COOKIE' ) ) { 
  2.  
  3. // grab the value 
  4. $value = constant( 'AUTH_COOKIE' ); 
  5.  
  6. if ( !empty( $value ) ) { 
  7. // go forth and prosper... 
  8.  

Defined (1)

The constant is defined in the following location(s).

/wp-includes/default-constants.php  
  1. define('AUTH_COOKIE', 'wordpress_' . COOKIEHASH);