show_nextgen_version

Show NextGEN Version in header.

Description

apply_filters( 'show_nextgen_version', (string) $meta_name_nextgen_version_ngg_version_n ); 

Parameters (1)

0. $meta_name_nextgen_version_ngg_version_n — Optional. (string) => '' . "\n"
The meta name nextgen version ngg version n.

Usage

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

Defined (1)

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

/lib/core.php  
  1. echo apply_filters('show_nextgen_version', '<!-- <meta name="NextGEN" version="'. $ngg->version . '" /> -->' . "\n");