Description
Implement [artisteer] shortcode for ArtisteerAlso displays Artisteer version if required
Usage
bw_art( $atts, $content, $tag );Parameters
- $atts
- ( mixed ) optional –
- $content
- ( mixed ) optional –
- $tag
- ( mixed ) optional –
Returns
voidSource
File name: oik-bob-bing-wide/shortcodes/oik-wp.phpLines:
1 to 12 of 12
function bw_art( $atts=null, $content=null, $tag=null ) { $bw = '<span class="bw_artisteer">Artisteer</span>'; $version = bw_array_get( $atts, 0, null ); if ( $version ) { oik_require( "shortcodes/oik-blocks.php" ); $current_setting = bw_artisteer_version( false ); $actual_setting = bw_artisteer_version( true ); $bw .= " current=$current_setting"; $bw .= " actual=$actual_setting"; } return( $bw ); }View on GitHub
Invoked by
Calls
Call hooks
API Letters:
