add_section( 'beetle_section_theme_info', array( 'title' => esc_html__( 'Theme Info', 'beetle' ), 'priority' => 200, 'panel' => 'beetle_options_panel', ) ); // Add Theme Links control. $wp_customize->add_control( new Beetle_Customize_Links_Control( $wp_customize, 'beetle_theme_options[theme_links]', array( 'section' => 'beetle_section_theme_info', 'settings' => array(), 'priority' => 10, ) ) ); // Add Pro Version control. if ( ! class_exists( 'Beetle_Pro' ) ) { $wp_customize->add_control( new Beetle_Customize_Upgrade_Control( $wp_customize, 'beetle_theme_options[pro_version]', array( 'section' => 'beetle_section_theme_info', 'settings' => array(), 'priority' => 20, ) ) ); } // Add Magazine Blocks control. if ( ! class_exists( 'ThemeZee_Magazine_Blocks' ) ) { $wp_customize->add_control( new Beetle_Customize_Plugin_Control( $wp_customize, 'beetle_theme_options[magazine_blocks]', array( 'label' => esc_html__( 'Magazine Blocks', 'beetle' ), 'description' => esc_html__( 'Install our free Magazine Blocks to create a magazine-styled homepage in the Editor with just a few clicks.', 'beetle' ), 'section' => 'beetle_section_theme_info', 'settings' => array(), 'priority' => 40, ) ) ); } } add_action( 'customize_register', 'beetle_customize_register_theme_info_settings' );