WordPress at a glance
filter is not described

render_block filter-hook . WP 5.0.0

Filters the content of a single block.

Usage

add_filter( 'render_block', 'filter_function_name_9330', 10, 2 );
function filter_function_name_9330( $block_content, $block ){
	// filter...

	return $block_content;
}
$block_content(string)
The block content about to be appended.
$block(array)
The full block, including name and attributes.

Список изменений

С версии 5.0.0 Введена.

Где вызывается хук

WP_Block::render()
render_block
wp-includes/class-wp-block.php 237
return apply_filters( 'render_block', $block_content, $this->parsed_block );

Где используется хук в ядре WordPress

Использование не найдено.