WP_DEBUG

The WordPress Core WP DEBUG constant.

Value (bool)

false 

Usage

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

Defined (2)

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

/wp-config-sample.php  
  1. define('WP_DEBUG', false); 
/wp-includes/default-constants.php  
  1. define( 'WP_DEBUG', false );