WP_Customize_Widgets8b7c:f320:99b9:690f:4595:cd17:293a:c069should_load_block_editor_scripts_and_styles( bool $is_block_editor_screen ): bool  Tells the script loader to load the scripts and styles of custom blocks if the widgets block editor is enabled.   Parameters   $is_block_editor_screen bool Required    Current decision about loading block assets.      Return bool Filtered decision about loading block assets.   Source  File: wp-includes/class-wp-customize-widgets.php. View all references  public function should_load_block_editor_scripts_and_styles( $is_block_editor_screen ) {
	if ( wp_use_widgets_block_editor() ) {
		return true;
	}

	return $is_block_editor_screen;
}
   Related  Uses    Uses Description      wp_use_widgets_block_editor() wp-includes/widgets.php   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.   
    Changelog    Version Description     5.8.0 Introduced.    

    
{'path': 'public/docs/wordpress/classes/wp_customize_widgets/should_load_block_editor_scripts_and_styles.html', 'source': 'DevDocs.IO'}