JSON_PRETTY_PRINT

The WordPress Core JSON PRETTY PRINT constant.

Value (int)

128 

Usage

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

Defined (1)

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

/wp-includes/compat.php  
  1. define( 'JSON_PRETTY_PRINT', 128 );