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_remove_footnotes, _excerpt_render_inner_blocks, _excerpt_render_inner_columns_blocks, get_hooked_blocks, insert_hooked_blocks

Top Google Results

User discussions

wpseek mobile