<?php

namespace UltimateStoreKit\Modules\EddTrendyGrid;

use UltimateStoreKit\Base\Ultimate_Store_Kit_Module_Base;

if (!defined('ABSPATH')) {
	exit;
} // Exit if accessed directly

class Module extends Ultimate_Store_Kit_Module_Base {
	public static function is_active() {
		return class_exists('Easy_Digital_Downloads');
	}

	public function get_name() {
		return 'usk-edd-trendy-grid';
	}

	public function get_widgets() {
		return ['EDD_Trendy_Grid'];
	}

	public function add_product_post_class($classes) {
		$classes[] = 'product';

		return $classes;
	}
}
