ngg_show_imagebrowser_first
Wrapper to I_Displayed_Gallery_Renderer->display_images(); this will display a basic thumbnails gallery.
Description
Parameters (2)
- 0. $false (bool) =>
FALSE
- The false.
- 1. $galleryid (unknown)
- The galleryid.
Usage
- To run the hook, copy the example below.
- $false = apply_filters( 'ngg_show_imagebrowser_first', $false, $galleryid );
- if ( !empty( $false ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the ngg_show_imagebrowser_first callback
- function filter_ngg_show_imagebrowser_first( $false, $galleryid ) {
- // make filter magic happen here...
- return $false;
- };
- // add the filter
- add_filter( 'ngg_show_imagebrowser_first', 'filter_ngg_show_imagebrowser_first', 10, 2 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'ngg_show_imagebrowser_first', 'filter_ngg_show_imagebrowser_first', 10, 2 );
Defined (1)
The filter is defined in the following location(s).
- /products/photocrati_nextgen/modules/nextgen_basic_gallery/module.nextgen_basic_gallery.php
- if (apply_filters('ngg_show_imagebrowser_first', FALSE, $galleryID))