You appear to be a bot. Output may be restricted
Description
Format the starting HTML for the objectNote: When "block" is true (default) then the title is automatically included in the header so may not be NOT needed in the content
Usage
bw_format_block_start( $post, $atts, $default_block );
Parameters
- $post
- ( mixed ) required –
- $atts
- ( mixed ) required –
- $default_block
- ( mixed ) optional default: 1 –
Returns
voidSource
File name: oik/includes/bw_formatter.phpLines:
1 to 12 of 12
function bw_format_block_start( $post, $atts, $default_block=true ) { $in_block = bw_validate_torf( bw_array_get( $atts, "block", $default_block )); if ( $in_block ) { $atts['title'] = get_the_title( $post->ID ); oik_require( "shortcodes/oik-blocks.php" ); e( bw_block( $atts )); } else { $class = bw_array_get( $atts, "class", "" ); sdiv( $class ); } return( $in_block ); }View on GitHub View on Trac