W3cubDocs

/WordPress

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

File: wp-includes/class-wp-block.php

View on Trac

Changelog

Version Description
5.0.0 Introduced.

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