Site logo

Archived topic

Hide Additional CSS in Customizer

1 reply · Started by Daren on June 24, 2018

Viewing posts 1–2 of 2

When using the simple CSS plugin is it possible to hide the Additional CSS option in the customizer?

Hi there,

Give this snippet a shot:

add_action( 'customize_register', 'lh_remove_addtional_css', 15 );

function lh_remove_addtional_css( $wp_customize ) {
	$wp_customize->remove_section( 'custom_css' );
}

Adding PHP: https://docs.generatepress.com/article/adding-php/

This archived topic is closed to new replies.