| Server IP : 104.26.4.103 / Your IP : 216.73.216.4 Web Server : nginx/1.27.1 System : Linux in-5 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64 User : arabianexpress ( 1872) PHP Version : 8.0.30 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /storage/v9321/buzzbitesv3/public_html/wp-content/themes/bite/skins/default/ |
Upload File : |
<?php
/**
* Required plugins
*
* @package BITE
* @since BITE 1.76.0
*/
// THEME-SUPPORTED PLUGINS
// If plugin not need - remove its settings from next array
//----------------------------------------------------------
if ( ! function_exists( 'bite_skin_required_plugins' ) ) {
add_action( 'after_setup_theme', 'bite_skin_required_plugins', -1 );
function bite_skin_required_plugins() {
$bite_theme_required_plugins_groups = array(
'core' => esc_html__( 'Core', 'bite' ),
'page_builders' => esc_html__( 'Page Builders', 'bite' ),
'ecommerce' => esc_html__( 'E-Commerce & Donations', 'bite' ),
'socials' => esc_html__( 'Socials and Communities', 'bite' ),
'events' => esc_html__( 'Events and Appointments', 'bite' ),
'content' => esc_html__( 'Content', 'bite' ),
'other' => esc_html__( 'Other', 'bite' ),
);
$bite_theme_required_plugins = array(
// Core
'trx_addons' => array(
'title' => esc_html__( 'ThemeREX Addons', 'bite' ),
'description' => esc_html__( "Will allow you to install recommended plugins, demo content, and improve the theme's functionality overall with multiple theme options", 'bite' ),
'required' => true, // Check this plugin in the list on load Theme Dashboard
'logo' => 'trx_addons.png',
'group' => $bite_theme_required_plugins_groups['core'],
),
// Page Builders
'elementor' => array(
'title' => esc_html__( 'Elementor', 'bite' ),
'description' => esc_html__( "Is a beautiful PageBuilder, even the free version of which allows you to create great pages using a variety of modules.", 'bite' ),
'required' => false, // Leave this plugin unchecked on load Theme Dashboard
'logo' => 'elementor.png',
'group' => $bite_theme_required_plugins_groups['page_builders'],
),
'gutenberg' => array(
'title' => esc_html__( 'Gutenberg', 'bite' ),
'description' => esc_html__( "It's a posts editor coming in place of the classic TinyMCE. Can be installed and used in parallel with Elementor", 'bite' ),
'required' => false,
'install' => false, // Do not offer installation of the plugin in the Theme Dashboard and TGMPA
'logo' => 'gutenberg.png',
'group' => $bite_theme_required_plugins_groups['page_builders'],
),
// Events
'the-events-calendar' => array(
'title' => esc_html__( 'The Events Calendar', 'bite' ),
'description' => '',
'required' => false,
'logo' => 'the-events-calendar.png',
'group' => $bite_theme_required_plugins_groups['events'],
),
'event-tickets' => array(
'title' => esc_html__( 'Event Tickets', 'bite' ),
'description' => '',
'required' => false,
'logo' => 'event-tickets.png',
'group' => $bite_theme_required_plugins_groups['events'],
),
// E-Commerce & Donations
'give' => array(
'title' => esc_html__( 'Give', 'bite' ),
'description' => '',
'required' => false,
'logo' => 'give.png',
'group' => $bite_theme_required_plugins_groups['ecommerce'],
),
// Content
'sitepress-multilingual-cms' => array(
'title' => esc_html__( 'WPML - Sitepress Multilingual CMS', 'bite' ),
'description' => esc_html__( "Allows you to make your website multilingual", 'bite' ),
'required' => false,
'install' => false, // Do not offer installation of the plugin in the Theme Dashboard and TGMPA
'logo' => 'sitepress-multilingual-cms.png',
'group' => $bite_theme_required_plugins_groups['content'],
),
'metform' => array(
'title' => esc_html__( 'MetForm', 'bite' ),
'description' => esc_html__( "Contact Form, Survey, Quiz, & Custom Form Builder for Elementor", 'bite' ),
'required' => false,
'logo' => 'metform.png',
'group' => $bite_theme_required_plugins_groups['content'],
),
// Other
'trx_updater' => array(
'title' => esc_html__( 'ThemeREX Updater', 'bite' ),
'description' => esc_html__( "Update theme and theme-specific plugins from developer's upgrade server.", 'bite' ),
'required' => false,
'logo' => 'trx_updater.png',
'group' => $bite_theme_required_plugins_groups['other'],
)
);
if ( BITE_THEME_FREE ) {
unset( $bite_theme_required_plugins['sitepress-multilingual-cms'] );
unset( $bite_theme_required_plugins['trx_updater'] );
}
// Add plugins list to the global storage
bite_storage_set( 'required_plugins', $bite_theme_required_plugins );
}
}