generate_show_default_sidebar_widgets

The generate_show_default_sidebar_widgets filter allows you to remove the default sidebar widgets (Search and Archives) when a sidebar layout is selected.

Usage

add_filter( 'generate_show_default_sidebar_widgets', '__return_false' );