You appear to be a bot. Output may be restricted
Description
Implement [bw_blockquote] shortcodeDisplay a blockquote unaffected by wpautop If the text comes from the $content then we allow shortcode expansion of embedded shortcodes.
Usage
$string = bw_blockquote( $atts, $content, $tag );
Parameters
- $atts
- ( array ) optional – shortcode attributes
- $content
- ( string ) optional – optional content overriding text= or positional parameter
- $tag
- ( string ) optional – shortcode used
Returns
string the generated blockquoteSource
File name: oik/shortcodes/oik-blockquote.phpLines:
1 to 10 of 10
function bw_blockquote( $atts=null, $content=null, $tag=null ) { if ( $content ) { $text = bw_do_shortcode( $content ); } else { $text = bw_array_get_from( $atts, "text,0", null ); } $class = bw_array_get( $atts, "class", NULL ); _bw_blockquote( $text, $class ); return( bw_ret()); }View on GitHub View on Trac