Skip to content

Instantly share code, notes, and snippets.

@timersys
Created September 11, 2015 17:47
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save timersys/ef5f7c474b211bc70ba5 to your computer and use it in GitHub Desktop.
how to disable akismet in Gravity forms
<?php
// disable akismet in all Gravity forms
add_filter( 'gform_akismet_enabled', '__return_false' );
// disable in just one form - Replace ## with your form ID
add_filter( 'gform_akismet_enabled_##', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment