PluginProbe
Ultimate Store Kit – Store Builder Addons for Elementor, WooCommerce Store Builder, EDD Store Builder / 2.0.0
Ultimate Store Kit – Store Builder Addons for Elementor, WooCommerce Store Builder, EDD Store Builder v2.0.0
3.1.4 3.0.8 3.0.9 3.1.0 3.1.2 3.1.3 3.0.7 3.0.5 3.0.4 3.0.3 3.0.2 trunk 1.5.0 1.5.1 1.5.2 1.6.1 1.6.2 1.6.3 1.6.4 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 All 93 releases
ultimate-store-kit / modules / edd-classic-carousel / module.php

module.php in Ultimate Store Kit – Store Builder Addons for Elementor, WooCommerce Store Builder, EDD Store Builder 2.0.0, at modules/edd-classic-carousel/module.php

30 lines 568 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace UltimateStoreKit\Modules\EddClassicCarousel;
4
5 use UltimateStoreKit\Base\Ultimate_Store_Kit_Module_Base;
6
7 if (!defined('ABSPATH')) {
8 exit;
9 } // Exit if accessed directly
10
11 class Module extends Ultimate_Store_Kit_Module_Base {
12 public static function is_active() {
13 return class_exists('woocommerce');
14 }
15
16 public function get_name() {
17 return 'usk-edd-classic-carousel';
18 }
19
20 public function get_widgets() {
21 return ['EDD_Classic_Carousel'];
22 }
23
24 public function add_product_post_class($classes) {
25 $classes[] = 'product';
26
27 return $classes;
28 }
29 }
30