← All changes
|
src/Addons/PluginsRecommendations/BulkPriceEditorPlugin.php
+5
-0
6.1.0
→
8.0.2
View file →
| @@ -23,8 +23,13 @@ | ||
| 23 | 23 | if ( $this->isSeen() ) { |
| 24 | 24 | return; |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | + $activationDate = \TierPricingTable\TierPricingTablePlugin::getPluginActivationDate(); | |
| 28 | + if ( ! $activationDate || ( time() - $activationDate ) < ( WEEK_IN_SECONDS * 2 ) ) { | |
| 29 | + return; | |
| 30 | + } | |
| 31 | + | |
| 27 | 32 | ?> |
| 28 | 33 | <div class=""> |
| 29 | 34 | <div class="tiered-pricing-tip" |
| 30 | 35 | style="margin: 12px; padding: 10px; background: #fafafa; border: 1px solid #eeeeee; display: flex; gap: 10px; justify-content: space-between"> |