From e7fa363d8dc45c47903b5016a83a6426fa60a046 Mon Sep 17 00:00:00 2001 From: And Finally Date: Wed, 13 Oct 2021 14:20:57 +0100 Subject: [PATCH] Added support for dynamic price suffix in `$addon` data. --- includes/admin/views/html-admin-page-addons.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/includes/admin/views/html-admin-page-addons.php b/includes/admin/views/html-admin-page-addons.php index 2f0c11949a7..4877b3641d2 100644 --- a/includes/admin/views/html-admin-page-addons.php +++ b/includes/admin/views/html-admin-page-addons.php @@ -199,8 +199,14 @@ function wccom_get_star_class( $rating, $index ) { price ) : ?> + price_suffix ) { + $price_suffix = $addon->price_suffix; + } + ?> price ); ?> - + reviews_count ) && ! empty( $addon->rating ) ) : ?>