ngg_after_new_images_added
The NextCellent Gallery ngg after new images added hook.
Description
Parameters (2)
- 0. $galleryid (unknown)
- The galleryid.
- 1. $image_ids (unknown)
- The image ids.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'ngg_after_new_images_added', $galleryid, $image_ids );
- The following example is for adding a hook callback.
- // define the ngg_after_new_images_added callback
- function action_ngg_after_new_images_added( $galleryid, $image_ids ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'ngg_after_new_images_added', 'action_ngg_after_new_images_added', 10, 2 );
- To remove a hook callback, use the example below.
- // remove the action
- 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
- do_action('ngg_after_new_images_added', $galleryID, $image_ids );