WordPress at Your Fingertips
filter is not described

excerpt_allowed_wrapper_blocks filter-hook . WP 5.8.0

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

Usage

add_filter( 'excerpt_allowed_wrapper_blocks', 'filter_function_name_2250' );
function filter_function_name_2250( $allowed_wrapper_blocks ){
	// filter...

	return $allowed_wrapper_blocks;
}
$allowed_wrapper_blocks(array)
The list of allowed wrapper blocks.

Changelog

Since 5.8.0 Introduced.

Where the hook is called

excerpt_remove_blocks()
excerpt_allowed_wrapper_blocks
wp-includes/blocks.php 731
$allowed_wrapper_blocks = apply_filters( 'excerpt_allowed_wrapper_blocks', $allowed_wrapper_blocks );

Where in WP core the hook is used WordPress

Usage not found.