← All changes
|
classes/views/dashboard/templates/pro-features-list.php
+2
-0
6.25.1
→
trunk
View file →
| @@ -2,8 +2,9 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * @since 6.8 |
| 4 | 4 | * |
| 5 | 5 | * @var array $features The list of pro features. |
| 6 | + * | |
| 6 | 7 | * @package Formidable |
| 7 | 8 | */ |
| 8 | 9 | |
| 9 | 10 | if ( ! defined( 'ABSPATH' ) ) { |
| @@ -22,8 +23,9 @@ | ||
| 22 | 23 | $utm = array( |
| 23 | 24 | 'campaign' => 'dashboard-discount', |
| 24 | 25 | 'content' => 'dashboard-defy-limits-cta', |
| 25 | 26 | ); |
| 27 | + | |
| 26 | 28 | if ( $discount_link ) { |
| 27 | 29 | $discount_link = FrmAppHelper::maybe_add_missing_utm( $discount_link, $utm ); |
| 28 | 30 | } else { |
| 29 | 31 | $discount_link = FrmAppHelper::admin_upgrade_link( $utm ); |