From acd92686e9a9c651a01c145bcd9e139fd6a7a1ae Mon Sep 17 00:00:00 2001 From: Torben Lundsgaard Date: Wed, 9 Oct 2024 08:57:06 +0200 Subject: [PATCH] Fix CF7 conditional --- src/Common/Conditionals/ContactForm7Conditional.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Common/Conditionals/ContactForm7Conditional.php b/src/Common/Conditionals/ContactForm7Conditional.php index 83b1597..56bb213 100644 --- a/src/Common/Conditionals/ContactForm7Conditional.php +++ b/src/Common/Conditionals/ContactForm7Conditional.php @@ -18,6 +18,6 @@ class ContactForm7Conditional implements Conditional { * @return bool `true` when the Contact Form 7 plugin is installed and activated. */ public function is_met(): bool { - return \class_exists( 'CF7' ); + return \class_exists( 'WPCF7' ); } }