COOKIEPATH
[^/]+|i', '', get_option('home') .
Value (string)
preg_replace('|https?://[^/]+|i', '', get_option('home') . '/' )
Usage
if ( defined( 'COOKIEPATH' ) ) { // grab the value $value = constant( 'COOKIEPATH' ); if ( !empty( $value ) ) { // go forth and prosper... } }
Defined (2)
The constant is defined in the following location(s).
- /wp-includes/default-constants.php
- define('COOKIEPATH', preg_replace('|https?://[^/]+|i', '', get_option('home') . '/' ) );
- /wp-includes/ms-default-constants.php
- define( 'COOKIEPATH', $current_network->path );