ngg_after_new_images_added

The NextCellent Gallery ngg after new images added hook.

Description

do_action( 'ngg_after_new_images_added', (unknown) $galleryid, (unknown) $image_ids ); 

Parameters (2)

0. $galleryid (unknown)
The galleryid.
1. $image_ids (unknown)
The image ids.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'ngg_after_new_images_added', $galleryid, $image_ids ); 
The following example is for adding a hook callback.
  1. // define the ngg_after_new_images_added callback 
  2. function action_ngg_after_new_images_added( $galleryid, $image_ids ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'ngg_after_new_images_added', 'action_ngg_after_new_images_added', 10, 2 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'ngg_after_new_images_added', 'action_ngg_after_new_images_added', 10, 2 ); 

Defined (1)

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

/admin/functions.php  
  1. do_action('ngg_after_new_images_added', $galleryID, $image_ids );