Post Creation Filters

Articles

gform_author_dropdown_args

The gform_author_dropdown_args filter allows developers to change the list of authors displayed in the author drop down for the Post Fields

gform_disable_post_creation

Use this filter to disable post creation when submitting a Gravity Form.

gform_media_upload_path

This filter can be used to change the location where files uploaded using the Post Image field are copied to when the post is created.

gform_post_category_args

Use this filter to change the $args passed to the wp_dropdown_categories() function and filter the list of categories displayed when a post category field is configured with the “display all categories” setting selected.

gform_post_category_choices

The gform_post_category_choices filter in Gravity Forms can be used to alter the post category field choices when the form markup is being prepared.

gform_post_data

This filter is executed right before the post is created, allowing post data to be manipulated before the post is created.

gform_post_status_options

The gform_post_status_options filter is used to add custom post statuses to the post status drop down on the Properties tab of post fields.

gform_postimage_caption

The gform_postimage_caption filter is executed when creating the Post Image Caption field and can be used to modify the "Caption" label.

gform_postimage_description

This filter is executed when creating the Post Image Description field and can be used to modify the “Description” label

gform_postimage_file

The gform_postimage_file filter is executed when creating the Post Image File field and can be used to modify the "File" label.