daily pastebin goal
80%
SHARE
TWEET

Untitled

a guest Mar 25th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. //* Do NOT include the opening php tag shown above. Copy the code shown below into functions.php
  3. /**
  4.  * Remove the additional CSS section, introduced in 4.7, from the Customizer.
  5.  * @param $wp_customize WP_Customize_Manager
  6.  */
  7. add_action( 'customize_register', 'prefix_remove_css_section', 15 );
  8.  
  9. function prefix_remove_css_section( $wp_customize ) {
  10.     $wp_customize->remove_section( 'custom_css' );
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top