Support » Plugin: Akismet Spam Protection » “akismet_spam_caught” action

  • Resolved jackcb

    (@jackcb)


    Hi,there
    I want to do some custom development, but I can’t find the implementation of
    the action named “akismet_spam_caught”. I only found “do_action( ‘akismet_spam_caught’, $discard );”.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support csonnek

    (@csonnek)

    Happiness Rocketeer 🚀

    @jackcb – Can you reach out to us through our contact form and choose the “I have a technical support question” option so we can better advise what it is you’re trying to develop?

    https://akismet.com/contact/

    Thanks!

    Plugin Author Stephane Daury (stephdau)

    (@stephdau)

    Hi there,

    There is no implementation of the akismet_spam_caught action, since it is there for you to add one.

    do_action( ‘akismet_spam_caught’, $discard ); is where Akismet would run the callback you add through something like add_action( 'akismet_spam_caught', 'action_akismet_spam_caught', 10, 1 );, where action_akismet_spam_caught() would be your custom function to add more processing.

    See http://hookr.io/actions/akismet_spam_caught/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘“akismet_spam_caught” action’ is closed to new replies.