<?php
	
load_template( get_template_directory() . '/inc/TGM/class-tgm-plugin-activation.php' );

/**
 * Recommended plugins.
 */
function web_designer_portfolio_register_recommended_plugins() {
	$plugins = array(
		array(
			'name'             => __( 'Essential Blocks', 'web-designer-portfolio' ),
			'slug'             => 'essential-blocks',
			'required'         => false,
			'force_activation' => false,
		),
		array(
			'name'             => __( 'Stackable - Gutenberg Blocks', 'web-designer-portfolio' ),
			'slug'             => 'stackable-ultimate-gutenberg-blocks',
			'required'         => false,
			'force_activation' => false,
		),
		array(
			'name'             => __( 'Ovation Elements', 'web-designer-portfolio' ),
			'slug'             => 'ovation-elements',
			'required'         => false,
			'force_activation' => false,
		)
	);
	$config = array();
	web_designer_portfolio_tgmpa( $plugins, $config );
}
add_action( 'tgmpa_register', 'web_designer_portfolio_register_recommended_plugins' );