SCRIPT_DEBUG

The WordPress Core SCRIPT DEBUG constant.

Value (unknown)

$develop_src 

Usage

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

Defined (3)

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

/wp-includes/default-constants.php  
  1. define( 'SCRIPT_DEBUG', $develop_src ); 
/wp-includes/script-loader.php  
  1. define( 'SCRIPT_DEBUG', $develop_src ); 
  1. define( 'SCRIPT_DEBUG', false !== strpos( $wp_version, '-src' ) );