We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
gw-remove-post-fields-group.php
1 parent 63c9583 commit 54c5969Copy full SHA for 54c5969
gravity-forms/gw-remove-post-fields-group.php
@@ -0,0 +1,12 @@
1
+<?php
2
+/**
3
+ * Gravity Wiz // Gravity Forms // Remove Post Fields Group from Form Editor
4
+ * https://gravitywiz.com/
5
+ *
6
+ * Removes the "Post Fields" group from the form editor field palette. A great way to prevent accidental post creation
7
+ * if you have clients managing their own forms.
8
+ */
9
+add_filter( 'gform_field_groups_form_editor', function( $field_groups ) {
10
+ unset( $field_groups['post_fields'] );
11
+ return $field_groups;
12
+} );
0 commit comments