| @@ -8,14 +8,17 @@ | ||
| 8 | 8 | |
| 9 | 9 | class TierLabelsAddon extends AbstractAddon { |
| 10 | 10 | |
| 11 | 11 | public function getName(): string { |
| 12 | - return __( 'Tier labels', 'tier-pricing-table' ); | |
| 12 | + return __( 'Badges & Labels', 'tier-pricing-table' ); | |
| 13 | 13 | } |
| 14 | 14 | |
| 15 | 15 | public function getDescription(): string { |
| 16 | - return __( 'Add customizable labels to pricing tiers to highlight offers like “Best value” or “Most popular”. Control label text, color, and style, and assign them to specific tiers.', | |
| 17 | - 'tier-pricing-table' ); | |
| 16 | + return __( 'Add custom labels like "Best Value" to specific pricing tiers.', 'tier-pricing-table' ); | |
| 17 | + } | |
| 18 | + | |
| 19 | + public function getIcon(): string { | |
| 20 | + return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16z"/></svg>'; | |
| 18 | 21 | } |
| 19 | 22 | |
| 20 | 23 | public function getSlug(): string { |
| 21 | 24 | return 'tier-labels'; |