• Resolved patrick_here

    (@patrick_here)


    So if a user submits a message that has disallowed words, the message is blocked and goes to the “spam” folder in flamingo …but how would I know about this -in php code? I’d like a hook for it so I can immediately blacklist the IP locally.

Viewing 1 replies (of 1 total)
  • Thread Starter patrick_here

    (@patrick_here)

    Hmmm…
    Looks like the filter wpcf7_submission_has_disallowed_words is the way to go and if the string passed-in is empty it means that the message will be sent out as a valid message but if the string isn’t empty it will contain the match from the disallowed list and will be treated as spam.

Viewing 1 replies (of 1 total)
  • The topic ‘Hook for disallowed words?’ is closed to new replies.