WordPress at a glance
filter is not described

pre_render_block filter-hook . WP 5.1.0

Allows render_block() to be shortcircuited, by returning a non-null value.


add_filter( 'pre_render_block', 'filter_function_name_3532', 10, 2 );
function filter_function_name_3532( $pre_render, $block ){
	// filter...

	return $pre_render;
The pre-rendered content.
Default: null
The block being rendered.

Where the hook is called

wp-includes/blocks.php 231
$pre_render = apply_filters( 'pre_render_block', null, $block );

Where the hook is used (in WP core)

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