Skip to content

Commit

Permalink
Fixed subscription link ✨
Browse files Browse the repository at this point in the history
  • Loading branch information
Khadreal committed Dec 17, 2024
1 parent 695993f commit 44eb526
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions classes/Admin/AdminBar.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,10 @@ public function get_admin_bar_profile_callback() {

if ( $this->user->is_monthly ) {
$text .= esc_html__( 'For $11.99/month, optimize as many images as you like!', 'imagify' );
$upgrade_link = IMAGIFY_APP_DOMAIN . '/subscription/plan_switch/?label=infinite&payment_plan=1&utm_source=plugin&utm_medium=notification ';
$upgrade_link = IMAGIFY_APP_DOMAIN . '/subscription/plan_switch/?label=infinite_3&payment_plan=1&utm_source=plugin&utm_medium=notification ';
} else {
$text .= esc_html__( 'For $9.99/month, optimize as many images as you like!', 'imagify' );
$upgrade_link = IMAGIFY_APP_DOMAIN . '/subscription/plan_switch/?label=infinite&payment_plan=2&utm_source=plugin&utm_medium=notification ';
$upgrade_link = IMAGIFY_APP_DOMAIN . '/subscription/plan_switch/?label=infinite_3&payment_plan=2&utm_source=plugin&utm_medium=notification ';
}

$button_text = esc_html__( 'Switch To Infinite Plan', 'imagify' );
Expand Down
4 changes: 2 additions & 2 deletions views/part-upsell.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@

if ( $imagify_user->is_monthly ) {
$price = esc_html__( 'For $11.99/month only, choose unlimited image optimization!', 'imagify' );
$upgrade_link = IMAGIFY_APP_DOMAIN . '/subscription/plan_switch/?label=infinite&payment_plan=1&utm_source=plugin&utm_medium=upsell_banner';
$upgrade_link = IMAGIFY_APP_DOMAIN . '/subscription/plan_switch/?label=infinite_3&payment_plan=1&utm_source=plugin&utm_medium=upsell_banner';
} else {
$price = esc_html__( 'For $9.99/month only, choose unlimited image optimization!', 'imagify' );
$upgrade_link = IMAGIFY_APP_DOMAIN . '/subscription/plan_switch/?label=infinite&payment_plan=2&utm_source=plugin&utm_medium=upsell_banner';
$upgrade_link = IMAGIFY_APP_DOMAIN . '/subscription/plan_switch/?label=infinite_3&payment_plan=2&utm_source=plugin&utm_medium=upsell_banner';
}
}
?>
Expand Down

0 comments on commit 44eb526

Please sign in to comment.