POLYLANG_BASENAME

Plugin name as known by WP.

Value (string)

plugin_basename( POLYLANG_FILE ) 

Usage

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

Defined (1)

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

/polylang.php  
  1. define( 'POLYLANG_BASENAME', plugin_basename( POLYLANG_FILE ) ); // plugin name as known by WP