These worked.
// Remove default sections
$wp_customize->remove_section(‘generate_colors_section’); /* Works */
$wp_customize->remove_section(‘generate_typography_section’); /* Works */
$wp_customize->remove_panel(‘generate_layout_panel’); /* Works */
// Remove Generate Blog sections
$wp_customize->remove_section(‘generate_blog_section’); /* Works */
Still Visible : Based on the code :
// Remove Menu Plus section. – Visible as ” Menu Plus ”
$wp_customize->remove_panel(‘generate_menu_plus’);
// Remove Generate Backgrounds section – Visible as ” Background Images” ( not sure if im correct here )
$wp_customize->remove_panel(‘generate_backgrounds_panel’);
Its getting better for sure.
Layout > – gone
β Header – gone
β Primary Navigation – gone
β Secondary Navigation – Visible
β Sticky Navigation – Visible
β Off Canvas Panel – Visible