apply_filters( 'pre_render_block', string|null $pre_render , array $block )
Allows render_block() to be shortcircuited, by returning a non-null value.
Description Description
Parameters Parameters
- $pre_render
-
(string|null) The pre-rendered content. Default null.
- $block
-
(array) The block being rendered.
Source Source
File: wp-includes/blocks.php
Changelog Changelog
Version | Description |
---|---|
5.1.0 | Introduced. |