XylotrechusZ
<?php
/***** Active Plugin ********/
add_action( 'tgmpa_register', 'vapier_register_required_plugins' );
function vapier_register_required_plugins() {
$plugins = array(
array(
'name' => esc_html__('Woocommerce', 'vapier'),
'slug' => 'woocommerce',
'required' => false
),
array(
'name' => esc_html__('Elementor', 'vapier'),
'slug' => 'elementor',
'required' => false
),
array(
'name' => esc_html__('Wpbingo Core', 'vapier'),
'slug' => 'wpbingo',
'source' => get_template_directory() . '/plugins/wpbingo.zip',
'required' => true,
),
array(
'name' => esc_html__('Redux Framework', 'vapier'),
'slug' => 'redux-framework',
'required' => false
),
array(
'name' => esc_html__('Contact Form 7', 'vapier'),
'slug' => 'contact-form-7',
'required' => false
),
array(
'name' => esc_html__('WPC Smart Wishlist for WooCommerce', 'vapier'),
'slug' => 'woo-smart-wishlist',
'required' => false
),
array(
'name' => esc_html__('WPC Smart Compare for WooCommerce', 'vapier'),
'slug' => 'woo-smart-compare',
'required' => false
),
array(
'name' => esc_html__('WooCommerce Variation Swatches', 'vapier'),
'slug' => 'variation-swatches-for-woocommerce',
'required' => false
),
array(
'name' => esc_html__('Dokan', 'vapier'),
'slug' => 'dokan-lite',
'required' => false
),
);
$config = array();
tgmpa( $plugins, $config );
}