Skip to content

Commit 31fb049

Browse files
chore: review
1 parent dfeb55b commit 31fb049

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

inc/Main.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -592,15 +592,14 @@ public function add_black_friday_data( $configs ) {
592592
$message_template = __( 'Our biggest sale of the year: %1$sup to %2$s OFF%3$s on %4$s. Don\'t miss this limited-time offer.', 'hyve-lite' );
593593
$product_label = 'Hyve';
594594
$discount = '70%';
595-
595+
596596
$product_label = sprintf( '<strong>%s</strong>', $product_label );
597-
$url_params = [
598-
'utm_term' => 'free',
599-
];
600597

601598
$config['message'] = sprintf( $message_template, '<strong>', $discount, '</strong>', $product_label );
602599
$config['sale_url'] = add_query_arg(
603-
$url_params,
600+
[
601+
'utm_term' => 'free',
602+
],
604603
tsdk_translate_link( tsdk_utmify( 'https://themeisle.link/hyve-bf', 'bfcm', 'hyve' ) )
605604
);
606605

0 commit comments

Comments
 (0)