wpmu_enable_function

The NextGEN Gallery wpmu enable function function.

Description

wpmu_enable_function( $value ); 

Parameters (1)

0. $value
The value.

Usage

  1. if ( !function_exists( 'wpmu_enable_function' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/admin/admin.php'; 
  3.  
  4. // The value. 
  5. $value = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = wpmu_enable_function($value); 
  9.  

Defined (1)

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

/products/photocrati_nextgen/modules/ngglegacy/admin/admin.php  
  1. function wpmu_enable_function($value) { 
  2. if (is_multisite()) { 
  3. $ngg_options = get_site_option('ngg_options'); 
  4. return $ngg_options[$value]; 
  5. // if this is not WPMU, enable it ! 
  6. return true;