wp_customize->add_section( 'section_main_area_edge_style', array( 'title' => esc_html__( 'Edge', 'ace' ), 'panel' => 'panel_main_area', )); // Edge Design $this->wp_customize->add_setting( 'main_area_design_edge', array( 'default' => $this->themeMods['main_area_design_edge'], 'capability' => 'edit_theme_options', 'transport' => 'postMessage', 'sanitize_callback' => 'sanitize_text_field', 'sanitize_js_callback' => 'sanitize_text_field', )); $this->wp_customize->add_control( 'main_area_design_edge', array( 'section' => 'section_main_area_edge_style', 'settings' => 'main_area_design_edge', 'label' => esc_html__( 'Edge Type', 'ace' ), 'type' => 'select', 'choices' => $this->designedEdgeTypes, )); // Edge Design Color $wp_customize->add_setting( 'main_area_design_edge_color', array( 'default' => $this->themeMods['main_area_design_edge_color'], 'transport' => 'postMessage', 'sanitize_callback' => array( 'AceSanitizeMethods', 'sanitizeColorValue' ), 'sanitize_js_callback' => array( 'AceSanitizeMethods', 'sanitizeColorValue' ), )); $wp_customize->add_control( new AceCustomizerAlphaColorControl( $wp_customize, 'main_area_design_edge_color', array( 'label' => esc_html__( 'Layered Color', 'ace' ), 'section' => 'section_main_area_edge_style', 'settings' => 'main_area_design_edge_color', 'palette' => $this->palletColorSet, )));