Filter hook 'excerpt_allowed_wrapper_blocks'

in WP Core File wp-includes/blocks.php at line 1845

Description

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

Occurrences

Filename Line Number
wp-includes/blocks.php 1845

Parameters

Type Name Description
string[] $allowed_wrapper_blocks The list of names of allowed wrapper blocks.

PHP Doc

/**
	 * Filters the list of blocks that can be used as wrapper blocks, allowing
	 * excerpts to be generated from the `innerBlocks` of these wrappers.
	 *
	 * @since 5.8.0
	 *
	 * @param string[] $allowed_wrapper_blocks The list of names of allowed wrapper blocks.
	 */