Close Comments when Post Created via Gravity Forms

This simple snippet allows you to close comments on posts created via a Gravity Form.

Comments

    1. David Smith
      David Smith Staff September 28, 2012 at 7:16 pm

      This would close comments on each created by the form ID your specify in the filter name or all forms if you remove the form ID completely from the filter name.

      It would only impact posts created after the snippet is implemented.

Leave a Reply

Your email address will not be published. Required fields are marked *

  • Trouble installing this snippet? See our troubleshooting tips.
  • Need to include code? Create a gist and link to it in your comment.
  • Reporting a bug? Provide a URL where this issue can be recreated.

By commenting, I understand that I may receive emails related to Gravity Wiz and can unsubscribe at any time.

Download Snippet

Close Comments when Post Created via Gravity Forms

This field is for validation purposes and should be left unchanged.