You appear to be a bot. Output may be restricted
Description
Format the full content of a post
Usage
$string = bw_content( $post );
Parameters
- $post
- ( object ) required – a post object
Returns
string the full content of the post after shortcode expansion.TO DO
ensure that other "the_content" filters are NOT applied we only want to process shortcodes.Source
File name: oik/includes/bw_formatter.phpLines:
1 to 12 of 12
function bw_content( $post ) { if ( bw_process_this_post( $post->ID ) ) { $content = $post->post_content; bw_trace2( $post, "post", true, BW_TRACE_VERBOSE ); $content = bw_get_the_content($content); bw_clear_processed_posts( $post->ID ); } else { $content = bw_report_recursion_error( $post ); } return( $content ); }View on GitHub View on Trac