A WordPress-centric search engine for devs and theme authors



render_block_data ›

Since5.1.0
Deprecatedn/a
apply_filters( 'render_block_data', $block, $source_block )
Parameters: (2)
  • (array) $block The block being rendered.
    Required: Yes
  • (array) $source_block An un-modified copy of $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

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