NGG_PLUGIN_BASENAME

The NextGEN Gallery NGG PLUGIN BASENAME constant.

Value (string)

plugin_basename(__FILE__) 

Usage

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

Defined (1)

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

/nggallery.php  
  1. define('NGG_PLUGIN_BASENAME', plugin_basename(__FILE__));