You appear to be a bot. Output may be restricted
Description
Implement [bbboing] shortcode
Usage
$string = bbboing_sc( $atts, $content, $tag );
Parameters
- $atts
- ( array ) optional – shortcode parameters
- $content
- ( string ) optional – not implemented
- $tag
- ( string ) optional –
Returns
string the result of the shortcode expansionSource
File name: bbboing/bbboing.incLines:
1 to 14 of 14
function bbboing_sc( $atts=null, $content=null, $tag=null ) { $form = bw_array_get( $atts, "form", 'N' ); $both = bw_array_get( $atts, "both", 'N' ); $text = bw_array_get_dcb( $atts, "text", "", "seed" ); $form = bw_validate_torf( $form ); $both = bw_validate_torf( $both ); if ( $form ) { $result = _bbboing_form( $text, $atts ); } else { $result = _bbboing_static( $text, $both ); } return( $result ); }View on GitHub View on Trac