NGG_SCRIPT_VERSION

The NextGEN Gallery NGG SCRIPT VERSION constant.

Value (string)

(string)mt_rand(0, mt_getrandmax()) 

Usage

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

Defined (2)

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

/nggallery.php  
  1. define('NGG_SCRIPT_VERSION', (string)mt_rand(0, mt_getrandmax())); 
  1. define('NGG_SCRIPT_VERSION', NGG_PLUGIN_VERSION);