%k25u25%fgd5n!
<?php if ( ! defined( 'ABSPATH' ) ) { die( 'Direct access forbidden.' ); }
/**
* TGM Plugin Activation
*/
require_once get_template_directory() . '/tgm-plugin-activation/class-tgm-plugin-activation.php';
if ( !function_exists('windazo_action_theme_register_required_plugins') ) {
function windazo_action_theme_register_required_plugins() {
$config = array(
'id' => 'windazo',
'menu' => 'windazo-install-plugins',
'parent_slug' => 'themes.php',
'capability' => 'edit_theme_options',
'has_notices' => true,
'dismissable' => false,
'is_automatic' => false,
);
tgmpa( array(
array(
'name' => esc_html__('Unyson', 'windazo'),
'slug' => 'unyson',
'source' => 'http://updates.like-themes.com/plugins/unyson/unyson-fork.zip',
'required' => true,
),
array(
'name' => esc_html__('LT Extension', 'windazo'),
'slug' => 'lt-ext',
'source' => get_template_directory() . '/inc/plugins/lt-ext.zip',
'version' => '2.2.2',
'required' => true,
),
array(
'name' => esc_html__('WPBakery Page Builder', 'windazo'),
'slug' => 'js_composer',
'source' => 'http://updates.like-themes.com/plugins/js_composer/js_composer.zip',
'required' => true,
),
array(
'name' => esc_html__('Envato Market', 'windazo'),
'slug' => 'envato-market',
'source' => get_template_directory() . '/inc/plugins/envato-market.zip',
'required' => false,
),
array(
'name' => esc_html__('Breadcrumb-navxt', 'windazo'),
'slug' => 'breadcrumb-navxt',
'required' => false,
),
array(
'name' => esc_html__('Contact Form 7', 'windazo'),
'slug' => 'contact-form-7',
'required' => false,
),
array(
'name' => esc_html__('MailChimp for WordPress', 'windazo'),
'slug' => 'mailchimp-for-wp',
'required' => false,
),
array(
'name' => esc_html__('WooCommerce', 'windazo'),
'slug' => 'woocommerce',
'required' => false,
),
array(
'name' => esc_html__('Post-views-counter', 'windazo'),
'slug' => 'post-views-counter',
'required' => false,
),
array(
'name' => esc_html__('User Profile Picture', 'windazo'),
'slug' => 'metronet-profile-picture',
'required' => false,
),
array(
'name' => esc_html__('The Events Calendar', 'windazo'),
'slug' => 'the-events-calendar',
'required' => false,
),
), $config);
}
}
add_action( 'tgmpa_register', 'windazo_action_theme_register_required_plugins' );