The Gravity Flow Folders Extension version 1.4 is now available via auto-update and for download from the account page.
This is a security & maintenance release with some new filters and bug fixes. We recommend that customers upgrade as soon as possible.
What’s New in v1.4
- Added security enhancements.
- Added filter gravityflowfolders_folder_match_add_step to allow control of whether entry should be added to a folder
- Added filter gravityflowfolders_folder_match_remove_step to allow control of whether entry should be removed from a folder
- Added filter gravityflowfolders_folders to allow the list of folders to be customized or generated dynamically.
- Updated translations.
The 3 new filters added to this release provide developers a a very useful way to have 1 Add to Folder step handle assigning an entry to any folder based on field values. The combined documentation pages have example code showing how gravityflowfolders_folders can let you populate the folder list by a taxonomy representing the departments of an organization and gravityflowfolders_folder_match_add_step to have one Add to Folder step ensure whichever department is selected in the entry determine which folder the entry gets added to. If you use dynamic field population for a select field all pieces are managed from the same data source meaning an organization update can be managed by adding/removing a taxonomy. The same concept could be applied from data in custom post types, user queries or other form entries via the Gravity Forms API.