← All changes
|
src/Addons/PluginsRecommendations/PluginsRecommendationsAddon.php
+6
-1
6.1.0
→
8.0.2
View file →
| @@ -8,11 +8,15 @@ | ||
| 8 | 8 | return __( 'Plugins recommendations', 'tier-pricing-table' ); |
| 9 | 9 | } |
| 10 | 10 | |
| 11 | 11 | public function getDescription(): string { |
| 12 | - return __( 'The plugin will recommend some addons or compatible plugins.', 'tier-pricing-table' ); | |
| 12 | + return __( 'Show recommendations for related plugins and addons.', 'tier-pricing-table' ); | |
| 13 | 13 | } |
| 14 | 14 | |
| 15 | + public function getIcon(): string { | |
| 16 | + return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.5 11H19V7c0-1.1-.9-2-2-2h-4V3.5C13 2.12 11.88 1 10.5 1S8 2.12 8 3.5V5H4c-1.1 0-1.99.9-1.99 2v3.8H.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5h1.5v3.8c0 1.1.9 2 2 2h4v1.5c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5V20h4c1.1 0 2-.9 2-2v-4h1.5c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5z"/></svg>'; | |
| 17 | + } | |
| 18 | + | |
| 15 | 19 | public function getSlug(): string { |
| 16 | 20 | return 'plugins-recommendations'; |
| 17 | 21 | } |
| 18 | 22 | |
| @@ -19,6 +23,7 @@ | ||
| 19 | 23 | public function run() { |
| 20 | 24 | new ConditionalLogicForProductAddons(); |
| 21 | 25 | new CancellationSurveysPlugin(); |
| 22 | 26 | new BulkPriceEditorPlugin(); |
| 27 | + new U2CodeProductAddonsPlugin(); | |
| 23 | 28 | } |
| 24 | 29 | } |