pre_render_block

最后更新于:2021-11-27 19:52:18

apply_filters( ‘pre_render_block’, string|null $pre_render, array $parsed_block )

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

参数

$pre_render

(string|null)
The pre-rendered content. Default null.

$parsed_block

(array)
The block being rendered.

源文件

文件: gc-includes/blocks.php

View on Trac