From 913fe2a942f7e1ae33f27a7ce6925ce9f1a02e18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Perona?= Date: Tue, 14 Nov 2023 10:11:51 -0500 Subject: [PATCH] add back the new to imagify block --- views/part-upsell.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/views/part-upsell.php b/views/part-upsell.php index 0fec94541..5e9b3d680 100644 --- a/views/part-upsell.php +++ b/views/part-upsell.php @@ -14,6 +14,29 @@ $notices = get_user_meta( $user_id, '_imagify_ignore_notices', true ); $notices = $notices && is_array( $notices ) ? array_flip( $notices ) : []; +if ( + $imagify_user->is_free() + && + Imagify_Requirements::is_api_key_valid() + && + $unconsumed_quota > 20 +) { + ?> +
+
+

+ +

+

+ +
+
+