<?php
/**
 * Recommended plugins
 *
 * @package CoverNews
 */

if ( ! function_exists( 'storeship_recommended_plugins' ) ) :

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

        $plugins = array(
            array(
                'name'     => esc_html__( 'WooCommerce', 'storeship' ),
                'slug'     => 'woocommerce',
                'required' => false,
            ),
            array(
                'name'     => esc_html__( 'Blockspare', 'storeship' ),
                'slug'     => 'blockspare',
                'required' => false,
            ),
            array(
                'name'     => esc_html__( 'Total Sales Counts', 'storeship' ),
                'slug'     => 'woo-total-sales',
                'required' => false,
            ),
            array(
                'name'     => esc_html__( 'Set Price Note', 'storeship' ),
                'slug'     => 'woo-set-price-note',
                'required' => false,
            ),
            array(
                'name'     => esc_html__( 'Floating Minicart', 'storeship' ),
                'slug'     => 'woo-floating-mincart',
                'required' => false,
            ),
            array(
                'name'     => esc_html__( 'WP Post Author', 'storeship' ),
                'slug'     => 'wp-post-author',
                'required' => false,
            ),
            array(
                'name'     => esc_html__( 'Free Live Chat using 3CX', 'storeship' ),
                'slug'     => 'wp-live-chat-support',
                'required' => false,
            ),
            array(
                'name'     => esc_html__( 'Elespare', 'storeship' ),
                'slug'     => 'elespare',
                'required' => false,
            ),
            array(
                'name'     => esc_html__( 'Templatespare', 'storeship' ),
                'slug'     => 'templatespare',
                'required' => false,
            ),
            array(
                'name'     => esc_html__( 'AF Translate', 'storeship' ),
                'slug'     => 'af-translate',
                'required' => false,
            ),
            array(
                'name'     => esc_html__( 'AF Companion', 'storeship' ),
                'slug'     => 'af-companion',
                'required' => false,
            ) 
        );

        tgmpa( $plugins );

    }

endif;

add_action( 'tgmpa_register', 'storeship_recommended_plugins' );
