Description
Implement the [oik] shortcodeFormat's OIK – in lower case? – as an abbreviation for "OIK Information Kit" Note: bw_oik() is needed here since it's used in the oik admin pages
Usage
$string = bw_oik( $atts );Parameters
- $atts
- ( array ) optional – shortcode parameters
Returns
string the generated HTMLSource
File name: oik/includes/bobbcomp.phpLines:
1 to 10 of 10
function bw_oik( $atts=null ) { $class = bw_array_get( $atts, "class", "bw_oik" ); $bw = nullretstag( "span", $class ); $bw .= retstag( "abbr", null, null, kv( "title", __( "OIK Information Kit", "oik" ) ) ); $bw .= "oik"; $bw .= retetag( "abbr" ); $bw .= nullretetag( "span", $class ); //bw_trace2( $bw, "bw" ); return( $bw ); }View on GitHub View on Trac
Called by
1 to 5 of 5
Invoked by
Calls
1 to 6 of 6
- bw_array_get() – Return the array[index] or array->index (for an object) or a default value if not set
- kv() – Create a keyword value pair
- nullretetag() – Return an end tag if the class is not null
- nullretstag() – Return a start tag if the class is not null
- retetag() – Return an end tag
- retstag() – Return an HTML opening tag
