WPINC

The WordPress Core WPINC constant.

Value (string)

'wp-includes' 

Usage

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

Defined (4)

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

/wp-admin/load-scripts.php  
  1. define( 'WPINC', 'wp-includes' ); 
/wp-admin/load-styles.php  
  1. define( 'WPINC', 'wp-includes' ); 
/wp-load.php  
  1. define( 'WPINC', 'wp-includes' ); 
/wp-settings.php  
  1. define( 'WPINC', 'wp-includes' );