Are you building your new Custom theme from scratch and want to inluce Plugins to auto install from Appearance/install plugins/Required theme plugins!

[php]

/* TGM */
public function plugins() {
$plugins = array(
array(
‘name’ => ‘customnameofplugin’,
‘slug’ => ‘customslugpluginname’,
‘source’ => ‘https://yourdomain.com/plugins/custompremiuplugin.zip’,
‘required’ => true
),

array(
‘name’ => ‘Instagram Widget’,
‘slug’ => ‘instagram-slider-widget’,
),
array(
‘name’ => ‘WooCommerce’,
‘slug’ => ‘woocommerce’,
)
);

tgmpa( $plugins );
}

[/php]

 

Get 5% Off Now!

You will receive a discount coupon of 5% for your first purchase on our shop.
 Start Shopping !