Skip to content

Filter: bricks/content_analysis/full_post_content_id

Filters the post ID Bricks treats as the full-content target during content analysis. Return a post ID to let Bricks remove the More block only for that target post.

  • $post_id (int): The content analysis target post ID. Defaults to 0.
add_filter( 'bricks/content_analysis/full_post_content_id', function( $post_id ) {
return defined( 'MY_CONTENT_ANALYSIS_POST_ID' ) ? MY_CONTENT_ANALYSIS_POST_ID : $post_id;
} );