apply_filters( 'excerpt_allowed_wrapper_blocks', string[] $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 string[]
The list of names of allowed wrapper blocks.

Top ↑

Source

File: wp-includes/blocks.php. View all references

$allowed_wrapper_blocks = apply_filters( 'excerpt_allowed_wrapper_blocks', $allowed_wrapper_blocks );


Top ↑

Changelog

Changelog
Version Description
5.8.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.