A WordPress-centric search engine for devs and theme authors



render_block ›

Since5.0.0
Deprecatedn/a
apply_filters( 'render_block', $block_content, $block )
Parameters: (2)
  • (string) $block_content The block content about to be appended.
    Required: Yes
  • (array) $block The full block, including name and attributes.
    Required: Yes
Defined at:
Codex:

Filters the content of a single block.





Source

return apply_filters( 'render_block', $block_content, $block );