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.

Parameters

$allowed_wrapper_blocks

(array) The list of allowed wrapper blocks.

Source

File: wp-includes/blocks.php

View on Trac

Changelog

Version Description
5.8.0 Introduced.