WP_LANG_DIR

The WordPress Core WP LANG DIR constant.

Value (string)

WP_CONTENT_DIR . '/languages' 

Usage

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

Defined (2)

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

/wp-includes/load.php  
  1. define( 'WP_LANG_DIR', WP_CONTENT_DIR . '/languages' ); 
  1. define( 'WP_LANG_DIR', ABSPATH . WPINC . '/languages' );