ngg_album_galleries_before_paging

The NextCellent Gallery ngg album galleries before paging hook.

Description

apply_filters( 'ngg_album_galleries_before_paging', (unknown) $galleries, (unknown) $album ); 

Parameters (2)

0. $galleries (unknown)
The galleries.
1. $album (unknown)
The album.

Usage

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

Defined (1)

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

/nggfunctions.php  
  1. $galleries = apply_filters('ngg_album_galleries_before_paging', $galleries, $album);