Description
Display information about each blog in the array of blogs
Usage
bw_display_blogs( $blogs, $atts, $content );Parameters
- $blogs
- ( mixed ) required –
- $atts
- ( array ) required – shortcode attributes
- $content
- ( string ) required – content to be displayed for each blog
Returns
voidSource
File name: oik-ms/shortcodes/oik-blogs.phpLines:
1 to 8 of 8
function bw_display_blogs( $blogs, $atts, $content ) { $class = bw_array_get( $atts, "class", null ); foreach ( $blogs as $blog ) { sdiv( "bw_blog $class" ); bw_display_blog( $blog, $atts, $content ); ediv( "bw_blog" ); } }View on GitHub
Invoked by
Calls
1 to 3 of 3
Call hooks
API Letters:
