You appear to be a bot. Output may be restricted
Description
Implement the [bw_text] shortcode – wptexturize on demandThis shortcode will invoke wptexturize() on the result of expanding the content
Usage
$string = bw_text( $atts, $content, $tag );
Parameters
- $atts
- ( array ) optional – shortcode parameters
- $content
- ( string ) optional – shortcode content ¶m string $tag – shortcode tag
- $tag
- ( mixed ) optional –
Returns
string the generated HTMLSource
File name: oik-bob-bing-wide/shortcodes/oik-text.phpLines:
1 to 9 of 9
function bw_text( $atts=null, $content=null, $tag=null ) { //gobang(); $text = bw_array_get_from( $atts, "text,0", null ); $text .= $content; bw_trace2( $text, "text before wptexturize" ); $texturized = wptexturize( $text ); bw_trace2( $texturized, "texturized" ); return( $texturized ); }View on GitHub