Summery Summery
Filters the allowed block types for the editor, defaulting to true (all block types supported).
Syntax Syntax
Parameters Parameters
- $allowed_block_types
-
Array of block type slugs, or boolean to enable/disable all.
- $post
-
The post resource data.
Source Source
Advertisement
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |