wp_setup_widgets_block_editor

The timeline below displays how wordpress function wp_setup_widgets_block_editor has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 5.8

/**
 * Enables the widgets block editor. This is hooked into 'after_setup_theme' so
 * that the block editor is enabled by default but can be disabled by themes.
 *
 * @since 5.8.0
 *
 * @access private
 */
function wp_setup_widgets_block_editor()
{
    add_theme_support('widgets-block-editor');
}