MY_WORDPRESS_FOLDER

The Business Responsive MY WORDPRESS FOLDER constant.

Value (string)

$_SERVER['DOCUMENT_ROOT'] 

Usage

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

Defined (1)

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

/functions.php  
  1. define('MY_WORDPRESS_FOLDER', $_SERVER['DOCUMENT_ROOT']);