add_section( 'anderson_section_upgrade', array( 'title' => esc_html__( 'Pro Version', 'anderson-lite' ), 'priority' => 60, 'panel' => 'anderson_panel_options' ) ); // Add PRO Version Section $wp_customize->add_setting( 'anderson_theme_options[pro_version_label]', array( 'default' => '', 'type' => 'option', 'transport' => 'refresh', 'sanitize_callback' => 'esc_attr' ) ); $wp_customize->add_control( new Anderson_Customize_Header_Control( $wp_customize, 'anderson_control_pro_version_label', array( 'label' => esc_html__( 'You need more features?', 'anderson-lite' ), 'section' => 'anderson_section_upgrade', 'settings' => 'anderson_theme_options[pro_version_label]', 'priority' => 1 ) ) ); $wp_customize->add_setting( 'anderson_theme_options[pro_version]', array( 'default' => '', 'type' => 'option', 'transport' => 'refresh', 'sanitize_callback' => 'esc_attr' ) ); $wp_customize->add_control( new Anderson_Customize_Text_Control( $wp_customize, 'anderson_control_pro_version', array( 'label' => esc_html__( 'Purchase the Pro Version to get additional features and advanced customization options.', 'anderson-lite' ), 'section' => 'anderson_section_upgrade', 'settings' => 'anderson_theme_options[pro_version]', 'priority' => 2 ) ) ); $wp_customize->add_setting( 'anderson_theme_options[pro_version_button]', array( 'default' => '', 'type' => 'option', 'transport' => 'refresh', 'sanitize_callback' => 'esc_attr' ) ); $wp_customize->add_control( new Anderson_Customize_Button_Control( $wp_customize, 'anderson_control_pro_version_button', array( 'label' => sprintf( esc_html__( 'Learn more about %s Pro', 'anderson-lite' ), 'Anderson' ), 'section' => 'anderson_section_upgrade', 'settings' => 'anderson_theme_options[pro_version_button]', 'priority' => 3 ) ) ); } ?>