• Resolved vince_

    (@vince_)


    Hi,

    Is there a way to change something in the plugin in order to allow any comment submitted from a Json API by GET method ?

    The comments come from my mobile app and I’ve got my own way to protect from spam on my Json API controller.

    Thanks

    https://wordpress.org/plugins/akismet/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Christopher Finke

    (@cfinke)

    You could just disable Akismet entirely for comments that you can vouch for in some way by doing this:

    remove_action( 'init', array( 'Akismet', 'init' ) );

    in the plugins_loaded action.

    Thread Starter vince_

    (@vince_)

    It’s working well thanks !

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Allow any comment submitted via Json API’ is closed to new replies.