Customize 'Your entry appears to be spam!' Message

By: Steve Zelle | Asked: 03/07/2023
ForumsCategory: General questionsCustomize 'Your entry appears to be spam!' Message
Steve Zelle asked 2 years ago
Hello,  Is there a way to customize the 'Your entry appears to be spam!' that sometimes appears when a user has autocomplete turned on? I would like to add an email in the message if a user cannot get the form to work.  Thanks for any help!
Question Tags:
3 Answers
Bobby Clapp answered 2 years ago
Steve Zelle replied 2 years ago

Thanks for the quick reply Bobby but I was hoping to edit the text 'Your entry appears to be spam!'. Do you know if this can be easily done? Thanks!

Bobby Clapp replied 2 years ago

You'll have to research or reach out to akismet I expect.

Steve Zelle answered 2 years ago
Thanks Bobby. Much appreciated.
Victor Font answered 2 years ago
@Steve Zelle, the text "Your entry appears to be spam" is hard coded into the spam_check() function found at line 268 in the FrmEntryValidate class. The file can be found here: /wp-content/plugins/formidable/classes/models/FrmEntryValidate.php. Unfortunately, there is no filter available in this function to change the text. That doesn't mean you can't. It means you have to write custom code to override Formidable's code with your own. Overriding is a technique available with object oriented programming. See this: https://www.geeksforgeeks.org/function-overloading-and-overriding-in-php/
Steve Zelle replied 2 years ago

Thanks very much Victor!

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right