Skip to content

Commit

Permalink
Fix CF7 conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
TorbenLundsgaard committed Oct 9, 2024
1 parent f171e94 commit acd9268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Common/Conditionals/ContactForm7Conditional.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' );
}
}

0 comments on commit acd9268

Please sign in to comment.