apply_filters( 'render_block', string $block_content, array $block )
Filters the content of a single block.
Parameters
- $block_content
-
(string) The block content about to be appended.
- $block
-
(array) The full block, including name and attributes.
Source
Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/render_block