<?php
/**
 * Recommended plugins.
 *
 * @package Business_Field
 */

if ( ! function_exists( 'business_field_recommended_plugins' ) ) :

	/**
	 * Recommend plugins.
	 *
	 * @since 1.0.0
	 */
	function business_field_recommended_plugins() {

		$plugins = array(
			array(
				'name'     => esc_html__( 'Team View', 'business-field-pro' ),
				'slug'     => 'team-view',
				'required' => false,
			),
			array(
				'name'     => esc_html__( 'Essential Content Types', 'business-field-pro' ),
				'slug'     => 'essential-content-types',
				'required' => false,
			),
		);

		$config = array();

		tgmpa( $plugins, $config );

	}

endif;

add_filter( 'tgmpa_register', 'business_field_recommended_plugins' );
