ngg_load_frontend_logic

The NextGEN Gallery ngg load frontend logic hook.

Description

apply_filters( 'ngg_load_frontend_logic', (bool) $true, (unknown) $this_module_id ); 

Parameters (2)

0. $true (bool) => TRUE
The true.
1. $this_module_id (unknown)
The this module id.

Usage

To run the hook, copy the example below.
  1. $true = apply_filters( 'ngg_load_frontend_logic', $true, $this_module_id ); 
  2.  
  3. if ( !empty( $true ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the ngg_load_frontend_logic callback 
  2. function filter_ngg_load_frontend_logic( $true, $this_module_id ) { 
  3. // make filter magic happen here... 
  4. return $true
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'ngg_load_frontend_logic', 'filter_ngg_load_frontend_logic', 10, 2 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'ngg_load_frontend_logic', 'filter_ngg_load_frontend_logic', 10, 2 ); 

Defined (16)

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

/products/photocrati_nextgen/modules/nextgen_gallery_display/module.nextgen_gallery_display.php  
  1. if (apply_filters('ngg_load_frontend_logic', TRUE, $this->module_id)) 
  1. if (apply_filters('ngg_load_frontend_logic', TRUE, $this->module_id)) 
  1. if (apply_filters('ngg_load_frontend_logic', TRUE, $this->module_id)) 
  1. if (apply_filters('ngg_load_frontend_logic', TRUE, $this->module_id)) 
/products/photocrati_nextgen/modules/nextgen_basic_tagcloud/module.nextgen_basic_tagcloud.php  
  1. if (apply_filters('ngg_load_frontend_logic', TRUE, $this->module_id)) 
  1. if (apply_filters('ngg_load_frontend_logic', TRUE, $this->module_id)) 
  1. if (apply_filters('ngg_load_frontend_logic', TRUE, $this->module_id) 
/products/photocrati_nextgen/modules/nextgen_basic_singlepic/module.nextgen_basic_singlepic.php  
  1. if (apply_filters('ngg_load_frontend_logic', TRUE, $this->module_id)) 
  1. if (apply_filters('ngg_load_frontend_logic', TRUE, $this->module_id) 
/products/photocrati_nextgen/modules/nextgen_basic_imagebrowser/module.nextgen_basic_imagebrowser.php  
  1. if (apply_filters('ngg_load_frontend_logic', TRUE, $this->module_id)) 
  1. if (apply_filters('ngg_load_frontend_logic', TRUE, $this->module_id) 
/products/photocrati_nextgen/modules/nextgen_basic_gallery/module.nextgen_basic_gallery.php  
  1. if (apply_filters('ngg_load_frontend_logic', TRUE, $this->module_id)) 
  1. if (apply_filters('ngg_load_frontend_logic', TRUE, $this->module_id) 
/products/photocrati_nextgen/modules/nextgen_basic_album/module.nextgen_basic_album.php  
  1. if (apply_filters('ngg_load_frontend_logic', TRUE, $this->module_id)) 
  1. if (apply_filters('ngg_load_frontend_logic', TRUE, $this->module_id) 
/products/photocrati_nextgen/modules/dynamic_thumbnails/module.dynamic_thumbnails.php  
  1. if (apply_filters('ngg_load_frontend_logic', TRUE, $this->module_id))