Skip to content

Commit 6820cfe

Browse files
author
Soare Robert-Daniel
committed
chore: change plugin menu upsell label for BF
1 parent a5cb444 commit 6820cfe

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

inc/admin.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -934,6 +934,8 @@ function ppom_add_black_friday_data( $configs ) {
934934
} else {
935935
// translators: %s - discount.
936936
$config['title'] = sprintf( __( 'PPOM Pro: %s off this week', 'woocommerce-product-addon' ), '60%' );
937+
// translators: %s is the discount percentage.
938+
$config['upgrade_menu_text'] = sprintf( __( 'BF Sale - %s off', 'woocommerce-product-addon' ), '60%' );
937939
}
938940

939941
$url_params = array(
@@ -964,4 +966,4 @@ function ppom_add_black_friday_data( $configs ) {
964966
return $configs;
965967
}
966968

967-
add_filter( 'themeisle_sdk_blackfriday_data', 'ppom_add_black_friday_data' );
969+
add_filter( 'themeisle_sdk_blackfriday_data', 'ppom_add_black_friday_data' );

0 commit comments

Comments
 (0)