wp_setup_widgets_block_editor()

Function: 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: wp-includes/widgets.php:1865

Used by 0 functions | Uses 1 function

wp_use_widgets_block_editor()

Function: 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.

Source: wp-includes/widgets.php:1878

Used by 5 functions | Uses 2 functions

widgets_init

Action Hook: Fires after all default WordPress widgets have been registered.

Source: wp-includes/widgets.php:1854

Used by 1 function | Uses 0 functions

retrieve_widgets()

Function: Validates and remaps any “orphaned” widgets to wp_inactive_widgets sidebar, and saves the widget settings. This has to run at least on each theme change.

Source: wp-includes/widgets.php:1313

Used by 4 functions | Uses 4 functions