apply_filters( "render_block_{$this->name}", string $block_content, array $block )
Filters the content of a single block.
Description
The dynamic portion of the hook name, $name
, refers to the block name, e.g. "core/paragraph".
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.7.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/render_block_this-name