You appear to be a bot. Output may be restricted
Description
Format the Nivo output for a screenshot-n.png file
Usage
bw_format_nivo_screenshot( $fileurl, $atts );
Parameters
- $fileurl
- ( string ) required – the file name of the screenshot
- $atts
- ( array ) required – array of shortcode parameters
Returns
voidSource
File name: oik-nivo-slider/nivo.phpLines:
1 to 13 of 13
function bw_format_nivo_screenshot( $fileurl, $atts ) { if ( bw_validate_torf( $atts['caption'] ) ) { $caption = $fileurl; } else { $caption = null; } $image = retimage( null, $fileurl, $caption, null, null, kv("data-thumb", $fileurl) ); if ( $atts['count'] ) { $image = str_replace( "/>", ' style="display:none" />', $image ); } e( $image ); }View on GitHub View on Trac