This simple snippet allows you to close comments on posts created via a Gravity Form.
Did this resource help you do something awesome with Gravity Forms?
Then you'll absolutely love Gravity Perks; a suite of 46+ essential add-ons for Gravity Forms with support you can count on.
Allan Schmidt says
This would only close comments from one GF created post/form, yes?
David Smith says
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.