Last active
May 28, 2019 09:29
-
-
Save deeman/ad3e8eb5e68c9da9cbc4aa9c9cff2da8 to your computer and use it in GitHub Desktop.
WordPress - Remove additional CSS from the Customizer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //HIDE ADDITIONAL CSS IN CUSTOMIZER// | |
| add_action( 'customize_register', 'prefix_remove_css_section', 15 ); | |
| /** | |
| * Remove the additional CSS section, from the Customizer. | |
| */ | |
| function prefix_remove_css_section( $wp_customize ) { | |
| $wp_customize->remove_section( 'custom_css' ); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment