ngg_show_gallery_content
The NextCellent Gallery ngg show gallery content hook.
Description
Parameters (2)
- 0. $out (unknown)
- The out.
- 1. $intval (unknown) =>
intval($galleryID)
- The intval.
Usage
- To run the hook, copy the example below.
- $out = apply_filters( 'ngg_show_gallery_content', $out, $intval );
- if ( !empty( $out ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the ngg_show_gallery_content callback
- function filter_ngg_show_gallery_content( $out, $intval ) {
- // make filter magic happen here...
- return $out;
- };
- // add the filter
- add_filter( 'ngg_show_gallery_content', 'filter_ngg_show_gallery_content', 10, 2 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'ngg_show_gallery_content', 'filter_ngg_show_gallery_content', 10, 2 );
Defined (1)
The filter is defined in the following location(s).
- /nggfunctions.php
- $out = apply_filters('ngg_show_gallery_content', $out, intval($galleryID));