apply_filters( 'allowed_block_types_all', bool|array $allowed_block_types, WP_Block_Editor_Context $block_editor_context )

Filters the allowed block types for all editor types.

Parameters Parameters


(bool|array) Array of block type slugs, or boolean to enable/disable all. Default true (all registered block types supported).


(WP_Block_Editor_Context) The current block editor context.

Top ↑

Source Source

File: wp-includes/block-editor.php

View on Trac

Top ↑

Changelog Changelog

Version Description
5.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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