| Server IP : 172.67.199.98 / Your IP : 104.23.197.224 Web Server : nginx/1.26.1 System : Linux ecc7dbd2befa 5.15.0-122-generic #132-Ubuntu SMP Thu Aug 29 13:45:52 UTC 2024 x86_64 User : www-data ( 82) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/themes/transcargo/inc/tgm/ |
Upload File : |
<?php
require_once TRANSCARGO_INC_PATH . '/tgm/class-tgm-plugin-activation.php';
add_action( 'tgmpa_register', 'transcargo_require_plugins' );
function transcargo_require_plugins() {
$plugins_path = 'https://logistics.stylemixthemes.com/demo-plugins';
$plugins = array(
array(
'name' => 'STM Post Type',
'slug' => 'stm-post-type',
'source' => $plugins_path . '/stm-post-type.zip',
'required' => true,
'force_activation' => true,
'version' => '2.0',
),
array(
'name' => 'STM Importer',
'slug' => 'stm-importer',
'source' => $plugins_path . '/stm-importer.zip',
'required' => true,
'force_activation' => true,
'version' => '3.1',
),
array(
'name' => 'Custom Icons by Stylemixthemes',
'slug' => 'custom-icons-by-stylemixthemes',
'source' => $plugins_path . '/custom-icons-by-stylemixthemes.zip',
'required' => true,
'force_activation' => true,
'version' => '2.1',
),
array(
'name' => 'WPBakery Visual Composer',
'slug' => 'js_composer',
'source' => $plugins_path . '/js_composer.zip',
'required' => true,
'external_url' => 'http://vc.wpbakery.com',
'version' => '7.3',
),
array(
'name' => 'Revolution Slider',
'slug' => 'revslider',
'source' => $plugins_path . '/revslider.zip',
'required' => false,
'external_url' => 'http://www.themepunch.com/revolution/',
'version' => '6.6.20',
),
array(
'name' => 'Breadcrumb NavXT',
'slug' => 'breadcrumb-navxt',
'required' => true,
),
array(
'name' => 'Contact Form 7',
'slug' => 'contact-form-7',
'required' => true,
),
array(
'name' => 'TinyMCE Advanced',
'slug' => 'tinymce-advanced',
'required' => false,
),
array(
'name' => 'MailChimp for WordPress Lite',
'slug' => 'mailchimp-for-wp',
'required' => false,
),
array(
'name' => 'Recent Tweets Widget',
'slug' => 'recent-tweets-widget',
'required' => false,
),
);
tgmpa( $plugins, array( 'is_automatic' => false ) );
}