Description
Safely invoke SlideShow Gallery Pro
Usage
bw_gp_slideshow( $atts, $hmm, $tag );Parameters
- $atts
- ( mixed ) required –
- $hmm
- ( mixed ) optional –
- $tag
- ( mixed ) optional –
Returns
voidSource
File name: oik/shortcodes/oik-slideshows.phpLines:
1 to 25 of 25
function bw_gp_slideshow( $atts, $hmm=NULL, $tag=NULL ) { bw_trace( $atts, __FUNCTION__, __LINE__, __FILE__, "atts" ); bw_trace( $tag, __FUNCTION__, __LINE__, __FILE__, "tag" ); $continue = true; if ( $continue && ( 'the_content' != current_filter() ) ) { $content = '[' . $tag . ']'; $continue = FALSE; // $content .= ' !?#'; } if ( $continue && !class_exists( "Gallery" ) ) { $content = '[' . $tag . '] <b>Slideshow Gallery Pro not activated</b>'; $continue = FALSE; } if ( $continue ) { $Gallery = new Gallery(); $content = $Gallery->embed( $atts ); } bw_trace( $content, __FUNCTION__, __LINE__, __FILE__, "content" ); return $content; }View on GitHub View on Trac
Called by
Invoked by
Calls
1 to 2 of 2
