excerpt_allowed_wrapper_blocks

最后更新于:2021-11-26 09:17:37

apply_filters( ‘excerpt_allowed_wrapper_blocks’, array $allowed_wrapper_blocks )

Filters the list of blocks that can be used as wrapper blocks, allowing excerpts to be generated from the innerBlocks of these wrappers.

参数

$allowed_wrapper_blocks

(array)
The list of allowed wrapper blocks.

源文件

文件: gc-includes/blocks.php

View on Trac