I’m attempting to remove a few of the Customizer color sections. I’m using this in my child theme’s functions.php:
function loud_remove_customizer_sections( $wp_customize ) {
$wp_customize->remove_section('buttons_color_section');
$wp_customize->remove_section('sidebar_widget_color_section');
}
add_action( 'customize_register', 'loud_remove_customizer_sections', 20 );
But the sections are still showing up in the Customizer. Is it possible to remove some of them? Thanks!