A WordPress-centric search engine for devs and theme authors



render_block_data ›

Since5.1.0
Deprecatedn/a
apply_filters( 'render_block_data', $parsed_block, $source_block )
Parameters: (2)
  • (array) $parsed_block The block being rendered.
    Required: Yes
  • (array) $source_block An un-modified copy of $parsed_block, as it appeared in the source content.
    Required: Yes
Defined at:
Codex:

Filters the block being rendered in render_block(), before it's processed.





Source

$parsed_block = apply_filters( 'render_block_data', $parsed_block, $source_block );