excerpt_remove_blocks


excerpt_remove_blocks ( $content )

Parameters:
  • (string) $content The content to parse.
Returns:
  • (string) The parsed and filtered content.
Defined at:

Description

Parses blocks out of a content string, and renders those appropriate for the excerpt.

As the excerpt should be a small string of text relevant to the full post content, this function renders the blocks that are most likely to contain such text.

Related Functions

_excerpt_render_inner_columns_blocks, post_excerpt_meta_box, parse_blocks, the_excerpt_embed, wp_remote_post

Top Google Results

User discussions

wpseek mobile