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

if ( ! function_exists( 'realestate_base_recommended_plugins' ) ) :

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

		$plugins = array(
			array(
				'name'     => esc_html__( 'Team View', 'realestate-base-pro' ),
				'slug'     => 'team-view',
				'required' => false,
			),
			array(
				'name'     => esc_html__( 'Essential Content Types', 'realestate-base-pro' ),
				'slug'     => 'essential-content-types',
				'required' => false,
			),
			array(
				'name'      => esc_html__( 'Catch Themes Demo Import', 'realestate-base-pro' ),
				'slug'      => 'catch-themes-demo-import',
				'required'  => false,
			),
		);

		$config = array();

		tgmpa( $plugins, $config );

	}

endif;

add_filter( 'tgmpa_register', 'realestate_base_recommended_plugins' );
