Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/blocks.php | apply_filters | 921 | /** * Filters the list of blocks that can contribute to the excerpt. * * If a dynamic block is added to this list, it must not generate another * excerpt, as this will cause an infinite loop to occur. * * @since 5.0.0 * * @param string[] $allowed_blocks The list of names of allowed blocks. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string[] | $allowed_blocks | The list of names of allowed blocks. |