register_section_type( 'Bicycleshop_A13_Customize_Section_Pro' ); // Register sections. $manager->add_section( new Bicycleshop_A13_Customize_Section_Pro( $manager, 'bicycleshop-pro-theme', array( 'title' => esc_html__( 'Find Our Other Themes', 'bicycleshop' ), 'pro_text' => esc_html__( 'Our Themes', 'bicycleshop' ), 'pro_url' => 'https://www.sktthemes.org/themes/', 'priority' => 0 ) ) ); } function import_notice_check(){ $plugin_path = 'skt-templates/skt-templates.php'; include_once ABSPATH . 'wp-admin/includes/plugin.php';// phpcs:ignore WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound if ( is_plugin_active( $plugin_path ) ){ return; } if( !bicycleshop_is_admin_notice_active( 'fresh_import' ) ){ return; } remove_action('tgmpa_register', 'bicycleshop_register_required_plugins'); add_action( 'bicycleshop_theme_notices', array( $this, 'import_notice' ) ); } function import_notice(){ echo '
'.esc_html__( 'Click on the button below to complete theme installation process..', 'bicycleshop' ).'
'; echo ''; echo '