wpseek.com
A WordPress-centric search engine for devs and theme authors
allowed_block_types › WordPress Filter Hooks
Since5.0.0
Deprecatedn/a
› apply_filters( 'allowed_block_types', true, $post )
Parameters: (2) |
|
Defined at: |
|
Codex: |
Filters the allowed block types for the editor, defaulting to true (all block types supported).
Related Functions: get_allowed_mime_types, allowed_tags, register_block_type, filter_block_kses, unregister_block_type, get_allowed_themes