Created
June 12, 2024 17:20
-
-
Save mjones129/1970e2345279f1e473d5d35b6a09c892 to your computer and use it in GitHub Desktop.
Disable Additional CSS
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
//disable additional css | |
function remove_additional_css( $wp_customize ) { | |
$wp_customize->remove_section('custom_css'); | |
} | |
add_action('customize_register', 'remove_additional_css'); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment