Description
Usage
bw_tides__example( $shortcode );Parameters
- $shortcode
- ( mixed ) optional default: bw_tides –
Returns
voidSource
File name: uk-tides/shortcodes/uk-tides.phpLines:
1 to 13 of 13
function bw_tides__example( $shortcode='bw_tides' ) { p( "Display tide times and heights for a particular location in the UK. " ); $atts = array( "store" => "bw_tides_pompey1" , "tideurl" => "http://www.tidetimes.org.uk/portsmouth" ); e( bw_tides( $atts ) ); $link = retlink( NULL, "http://www.tidetimes.org.uk", "Tide Times .org.uk" ); p( "The information displayed comes from $link" ); $atts = array( "store" => "bw_tides_pompey2" , "tideurl" => "http://www.tidetimes.co.uk/rss/portsmouth" ); e( bw_tides( $atts ) ); $link = retlink( NULL, "http://www.tidetimes.co.uk", "Tide Times .co.uk" ); p( "The information displayed comes from $link" ); }View on GitHub View on Trac
Called by
Invoked by
Calls
1 to 2 of 2
