wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_setup_widgets_block_editor › WordPress Function

Od5.8.0
Przestarzałyn/a
wp_setup_widgets_block_editor ( Brak parametrów )
Dostęp:
  • private
Zdefiniowane na:
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.



Źródło

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