← All changes
|
vendor/codeinwp/themeisle-sdk/src/Modules/Featured_plugins.php
+1
-3
3.10.14
→
3.11.10
View file →
| @@ -43,11 +43,9 @@ | ||
| 43 | 43 | if ( $this->is_from_partner( $product ) ) { |
| 44 | 44 | return false; |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | - $slug = $product->get_slug(); | |
| 48 | - // only load for products that contain "pro" in the slug. | |
| 49 | - if ( strpos( $slug, 'pro' ) === false ) { | |
| 47 | + if ( $product->is_wordpress_available() ) { | |
| 50 | 48 | return false; |
| 51 | 49 | } |
| 52 | 50 | |
| 53 | 51 | return ! apply_filters( 'themeisle_sdk_disable_featured_plugins', false ); |