← All changes
|
vendor/codeinwp/themeisle-sdk/src/Common/Abstract_module.php
+1
-13
4.0.3
→
3.11.10
View file →
| @@ -40,10 +40,8 @@ | ||
| 40 | 40 | 'sparks-for-woocommerce' => 'sparks-for-woocommerce/sparks-for-woocommerce.php', |
| 41 | 41 | 'templates-patterns-collection' => 'templates-patterns-collection/templates-patterns-collection.php', |
| 42 | 42 | 'wpcf7-redirect' => 'wpcf7-redirect/wpcf7-redirect.php', |
| 43 | 43 | 'wp-full-stripe-free' => 'wp-full-stripe-free/wp-full-stripe.php', |
| 44 | - 'learning-management-system' => 'learning-management-system/lms.php', | |
| 45 | - 'wp-cloudflare-page-cache' => 'wp-cloudflare-page-cache/wp-cloudflare-super-page-cache.php', | |
| 46 | 44 | ]; |
| 47 | 45 | |
| 48 | 46 | /** |
| 49 | 47 | * Product which use the module. |
| @@ -140,10 +138,9 @@ | ||
| 140 | 138 | array( |
| 141 | 139 | 'slug' => $slug, |
| 142 | 140 | 'fields' => array( |
| 143 | 141 | 'downloaded' => false, |
| 144 | - 'rating' => true, | |
| 145 | - 'ratings' => true, | |
| 142 | + 'rating' => false, | |
| 146 | 143 | 'description' => false, |
| 147 | 144 | 'short_description' => true, |
| 148 | 145 | 'donate_link' => false, |
| 149 | 146 | 'tags' => false, |
| @@ -221,15 +218,6 @@ | ||
| 221 | 218 | |
| 222 | 219 | $plugin = isset( $this->plugin_paths[ $plugin ] ) ? $this->plugin_paths[ $plugin ] : $plugin . '/' . $plugin . '.php'; |
| 223 | 220 | |
| 224 | 221 | return is_plugin_active( $plugin ); |
| 225 | - } | |
| 226 | - | |
| 227 | - /** | |
| 228 | - * Get the current date. | |
| 229 | - * | |
| 230 | - * @return \DateTime The date time. | |
| 231 | - */ | |
| 232 | - public function get_current_date() { | |
| 233 | - return apply_filters( 'themeisle_sdk_current_date', new \DateTime( 'now' ) ); | |
| 234 | 222 | } |
| 235 | 223 | } |