WP_CONTENT_DIR

No trailing slash, full paths only - WP_CONTENT_URL is defined further down.

Value (string)

ABSPATH . 'wp-content' 

Usage

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

Defined (1)

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

/require-lib.php  
  1. define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' ); // no trailing slash, full paths only - WP_CONTENT_URL is defined further down