Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Remove unnecessary sections from the theme customizer
- function edit_customizer($wp_customize) {
- $wp_customize->remove_section("colors");
- $wp_customize->remove_section("custom_css");
- // $wp_customize->remove_section("static_front_page");
- }
- add_action( "customize_register", "edit_customizer" );
Add Comment
Please, Sign In to add comment