<?php
/**
 * Recommended plugins
 *
 * @package biz-ecommerce
 */

if ( ! function_exists( 'biz_ecommerce_recommended_plugins' ) ) :

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

        $plugins = array(              
          
            array(
                'name'     => esc_html__( 'Testerwp Ecommerce Companion', 'biz-ecommerce' ),
                'slug'     => 'testerwp-ecommerce-companion',
                'required' => false,
            ),
            array(
                'name'     => esc_html__( 'ShopLentor – WooCommerce Builder for Elementor', 'biz-ecommerce' ),
                'slug'     => 'woolentor-addons',
                'required' => false,
            ),
            array(
                'name'     => esc_html__( 'One Click Demo Import', 'biz-ecommerce' ),
                'slug'     => 'one-click-demo-import',
                'required' => false,
            ),
            array(
                'name'     => esc_html__( 'WooCommerce', 'biz-ecommerce' ),
                'slug'     => 'woocommerce',
                'required' => false,
            ),
            array(
                'name'     => esc_html__( 'Elementor Website Builder', 'biz-ecommerce' ),
                'slug'     => 'elementor',
                'required' => false,
            ),
        );

        tgmpa( $plugins );

    }

endif;

add_action( 'tgmpa_register', 'biz_ecommerce_recommended_plugins' );