apply_filters( 'render_block_data', array $parsed_block, array $source_block )

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

Parameters

$parsed_block

(array) The block being rendered.

$source_block

(array) An un-modified copy of $parsed_block, as it appeared in the source content.

Source

File: wp-includes/blocks.php

View on Trac

Changelog

Version Description
5.1.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/render_block_data