WP_DEBUG
The WordPress Core WP DEBUG constant.
Value (bool)
false
Usage
if ( defined( 'WP_DEBUG' ) ) { // grab the value $value = constant( 'WP_DEBUG' ); if ( !empty( $value ) ) { // go forth and prosper... } }
Defined (2)
The constant is defined in the following location(s).
- /wp-config-sample.php
- define('WP_DEBUG', false);
- /wp-includes/default-constants.php
- define( 'WP_DEBUG', false );