File: /var/www/vfconf/wp-content/themes/event-star/acmethemes/hooks/tgm.php
<?php
add_action( 'tgmpa_register', 'event_star_register_required_plugins' );
/**
* Register the required plugins for this theme.
*
* This function is hooked into `tgmpa_register`, which is fired on the WP `init` action on priority 10.
*/
function event_star_register_required_plugins() {
/*
* Array of plugin arrays. Required keys are name and slug.
* If the source is NOT from the .org repo, then source is also required.
*/
$plugins = array(
array(
'name' => 'Gutentor',
'slug' => 'gutentor',
'required' => false,
),
array(
'name' => 'Classic Widgets',
'slug' => 'classic-widgets',
'required' => false,
),
);
tgmpa( $plugins );
}