Filters the allowed block types for all editor types.
$allowed_block_typesbool|string[]
$block_editor_contextWP_Block_Editor_Context
$allowed_block_types = apply_filters( 'allowed_block_types_all', $allowed_block_types, $block_editor_context );
| Version | Description |
|---|---|
| 5.8.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/allowed_block_types_all