use_widgets_block_editor WordPress Filter Hook
This hook allows you to register new widgets for use in the block editor. This is useful if you want to add new blocks that represent data from your plugin in the editor interface.
apply_filters( 'use_widgets_block_editor', bool $use_widgets_block_editor ) #
Filters whether to use the block editor to manage widgets.
Parameters
- $use_widgets_block_editor
(bool)Whether to use the block editor to manage widgets.
Source
File: wp-includes/widgets.php
Changelog
Version | Description |
---|---|
5.8.0 | Introduced. |