run_ngg_resource_manager

The NextGEN Gallery run ngg resource manager hook.

Description

apply_filters( 'run_ngg_resource_manager', (unknown) $this_valid_request ); 

Parameters (1)

0. $this_valid_request (unknown)
The this valid request.

Usage

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

Defined (1)

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

/non_pope/class.photocrati_resource_manager.php  
  1. if (apply_filters('run_ngg_resource_manager', $this->valid_request)) {