Filter to change the number of Caldera Forms form configuration revisions per form.
This filter was added in Caldera Forms 1.5.3
This filter exposed two parameters:
- $max – The total number of revisions to save per form. Return 0 or false to prevent saving revisions.
- $form – The form configuration as an array
Disable Saving Of Caldera Forms Form Revisions
Increase The Number of Caldera Forms Revisions Saved Per Form
Save All Revisions For A Form
Where Does This Code Go?
When using WordPress hooks to customize Caldera Forms or other plugins you should not modify the plugin files, or you will lose your changes when you update the plugin. Instead you should create a small plugin to hold the custom code. It's easy, learn how here.
Technically you can add the custom code to your theme's functions.php, but then you will not be able to change your theme and keep these customizations.