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:1869

Used by 0 functions | Uses 1 function


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:1882

Used by 5 functions | Uses 2 functions


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

Source: wp-includes/widgets.php:1858

Used by 1 function | Uses 0 functions


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:1317

Used by 4 functions | Uses 4 functions