add_section( 'callcenter_developer_section' , array( 'title' => __('Developer Mode Settings', 'callcenter'), 'priority' => 2000, ) ); $wp_customize->add_setting( 'custom_style', array( 'default' => '', 'sanitize_callback' => 'callcenter_custom_sanitize_text', ) ); $wp_customize->add_control( 'custom_style', array( 'label' => __('Custom css', 'callcenter'), 'section' => 'callcenter_developer_section', 'type' => 'textarea', ) ); $wp_customize->add_setting( 'callcenter_developer_js', array( 'default' => '', 'sanitize_callback' => 'callcenter_custom_sanitize_text', ) ); $wp_customize->add_control( 'callcenter_developer_js', array( 'type' => 'textarea', 'label' => __('Custom JS ','callcenter'), 'section' => 'callcenter_developer_section', ) ); function callcenter_custom_sanitize_text( $input ) { return wp_kses_post( force_balance_tags( $input ) ); } function callcenter_custom_sanitize_html( $input ) { return force_balance_tags( $input ); } } add_action( 'customize_register', 'callcenter_developer_customizer' ); ?>