<?php

require get_template_directory() . '/core/tgm/class-tgm-plugin-activation.php';
/**
 * Recommended plugins.
 */
function carpet_store_register_recommended_plugins() {
	$plugins = array(
		array(
		    'name'             => __( 'WooCommerce', 'carpet-store' ),
		    'slug'             => 'woocommerce',
		    'source'           => '',
		    'required'         => false,
		    'force_activation' => false,
		),
		array(
			'name'             => __( 'Essential Blocks – Page Builder Gutenberg Blocks, Patterns & Templates', 'carpet-store' ),
			'slug'             => 'essential-blocks',
			'source'           => '',
			'required'         => false,
			'force_activation' => false,
		)
	);
	$config = array();
	tgmpa( $plugins, $config );
}
add_action( 'tgmpa_register', 'carpet_store_register_recommended_plugins' );