wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_setup_widgets_block_editor › WordPress Function

Since5.8.0
已弃用n/a
wp_setup_widgets_block_editor ( 没有参数 )
访问:
  • private
定义在:
文档:

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.



源码

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