On this page
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_editorbool-
Whether to use the block editor to manage widgets.
Source
File: wp-includes/widgets.php. View all references
return apply_filters(
'use_widgets_block_editor',
get_theme_support( 'widgets-block-editor' )
);
Related
Used By
| Used By | Description |
|---|---|
| wp_use_widgets_block_editor() wp-includes/widgets.php | Whether or not to use the block editor to manage widgets. Defaults to true unless a theme has removed support for widgets-block-editor or a plugin has filtered the return value of this function. |
Changelog
| Version | Description |
|---|---|
| 5.8.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/use_widgets_block_editor