wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_setup_widgets_block_editor › WordPress Function

Since5.8.0
Deprecatedn/a
wp_setup_widgets_block_editor ( No parameters )
Access:
  • private
Defined at:
Codex:

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.



Source

function wp_setup_widgets_block_editor() {
	add_theme_support( 'widgets-block-editor' );
}