File: /var/www/html/wptrinityconsulting/wp-content/themes/finbuzz/inc/tgm-config.php
<?php
/**
* @author RadiusTheme
* @since 1.0
* @version 1.0
*/
add_action( 'tgmpa_register', 'finbuzz_register_required_plugins' );
function finbuzz_register_required_plugins() {
$plugins = array(
// Bundled
array(
'name' => 'Finbuzz Core',
'slug' => 'finbuzz-core',
'source' => 'finbuzz-core.zip',
'required' => true,
'external_url' => 'http://radiustheme.com',
'version' => '1.8'
),
array(
'name' => 'RT Framework',
'slug' => 'rt-framework',
'source' => 'rt-framework.zip',
'required' => true,
'external_url' => 'http://radiustheme.com',
'version' => '2.4'
),
array(
'name' => 'RT Demo Importer',
'slug' => 'rt-demo-importer',
'source' => 'rt-demo-importer.zip',
'required' => true,
'external_url' => 'http://radiustheme.com',
'version' => '4.3'
),
// Repository
array(
'name' => 'Breadcrumb NavXT',
'slug' => 'breadcrumb-navxt',
'required' => true,
),
array(
'name' => 'Elementor Page Builder',
'slug' => 'elementor',
'required' => true,
),
array(
'name' => 'WP Fluent Forms',
'slug' => 'fluentform',
'required' => false,
),
array(
'name' => ' Mailchimp for WordPress',
'slug' => 'mailchimp-for-wp',
'required' => false,
),
array(
'name' => 'WooCommerce',
'slug' => 'woocommerce',
'required' => false,
),
array(
'name' => 'YITH WooCommerce Quick View',
'slug' => 'yith-woocommerce-quick-view',
'required' => false,
),
array(
'name' => esc_attr__('YITH WooCommerce Wishlist', 'eduhub'),
'slug' => 'yith-woocommerce-wishlist',
'required' => false,
),
);
$config = array(
'id' => 'finbuzz', // Unique ID for hashing notices for multiple instances of TGMPA.
'default_path' => FINBUZZ_PLUGINS_DIR, // Default absolute path to bundled plugins.
'menu' => 'finbuzz-install-plugins', // Menu slug.
'has_notices' => true, // Show admin notices or not.
'dismissable' => true, // If false, a user cannot dismiss the nag message.
'dismiss_msg' => '', // If 'dismissable' is false, this message will be output at top of nag.
'is_automatic' => false, // Automatically activate plugins after installation or not.
'message' => '', // Message to output right before the plugins table.
);
tgmpa( $plugins, $config );
}