add_section( 'social_share', array( 'title' => esc_html__( 'Social Share Settings', 'asterisk-lite' ), 'capability' => 'edit_theme_options', 'panel' => 'asterisk_lite_options', ) ); $wp_customize->add_setting('enable_facebook', array( 'default' => $asterisk_lite_default['enable_facebook'], 'capability' => 'edit_theme_options', 'sanitize_callback' => 'asterisk_lite_sanitize_checkbox', ) ); $wp_customize->add_control('enable_facebook', array( 'label' => esc_html__('Enable Facebook', 'asterisk-lite'), 'section' => 'social_share', 'type' => 'checkbox', ) ); $wp_customize->add_setting('enable_twitter', array( 'default' => $asterisk_lite_default['enable_twitter'], 'capability' => 'edit_theme_options', 'sanitize_callback' => 'asterisk_lite_sanitize_checkbox', ) ); $wp_customize->add_control('enable_twitter', array( 'label' => esc_html__('Enable Twitter', 'asterisk-lite'), 'section' => 'social_share', 'type' => 'checkbox', ) ); $wp_customize->add_setting('enable_pinterest', array( 'default' => $asterisk_lite_default['enable_pinterest'], 'capability' => 'edit_theme_options', 'sanitize_callback' => 'asterisk_lite_sanitize_checkbox', ) ); $wp_customize->add_control('enable_pinterest', array( 'label' => esc_html__('Enable Pinterest', 'asterisk-lite'), 'section' => 'social_share', 'type' => 'checkbox', ) ); $wp_customize->add_setting('enable_linkedin', array( 'default' => $asterisk_lite_default['enable_linkedin'], 'capability' => 'edit_theme_options', 'sanitize_callback' => 'asterisk_lite_sanitize_checkbox', ) ); $wp_customize->add_control('enable_linkedin', array( 'label' => esc_html__('Enable LinkedIn', 'asterisk-lite'), 'section' => 'social_share', 'type' => 'checkbox', ) ); $wp_customize->add_setting('enable_email', array( 'default' => $asterisk_lite_default['enable_email'], 'capability' => 'edit_theme_options', 'sanitize_callback' => 'asterisk_lite_sanitize_checkbox', ) ); $wp_customize->add_control('enable_email', array( 'label' => esc_html__('Enable Email', 'asterisk-lite'), 'section' => 'social_share', 'type' => 'checkbox', ) ); $wp_customize->add_setting( 'asterisk_lite_more_options_social_share', array( 'default' => '', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'sanitize_text_field' ) ); $wp_customize->add_control( new Asterisk_Lite_Premium_Notiece( $wp_customize, 'asterisk_lite_more_options_social_share', array( 'label' => esc_html__( 'More Options Available On Premium Version.', 'asterisk-lite' ), 'settings' => 'asterisk_lite_more_options_social_share', 'section' => 'social_share', ) ) );