How we can allow only specific blocks for the new Widget Screen? #33238
Labels
[Feature] Widgets Customizer
Ability to add and edit blocks in Customize → Widgets.
[Feature] Widgets Screen
The block-based screen that replaced widgets.php.
[Type] Question
Questions about the design or development of the editor.
Hey together,
the new widget screen will come to WordPress with the next release. Therefore it's very useful to disallow or allow specific block types only for using on a small width sidebar.
How we can deal with this?
Is there a filter like
add_filter( 'allowed_block_types', '...')
to allow specific block types for the widget screen?Thank you for helping.
The text was updated successfully, but these errors were encountered: