WP_LANG_DIR
The WordPress Core WP LANG DIR constant.
Value (string)
WP_CONTENT_DIR . '/languages'
Usage
if ( defined( 'WP_LANG_DIR' ) ) { // grab the value $value = constant( 'WP_LANG_DIR' ); if ( !empty( $value ) ) { // go forth and prosper... } }
Defined (2)
The constant is defined in the following location(s).
- /wp-includes/load.php
- define( 'WP_LANG_DIR', WP_CONTENT_DIR . '/languages' );