Heads up!
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
By default, it would take 30 seconds to capture the form on an interval without closing the page or switching between tabs. Use this hook to get the value in milliseconds.
Usage
add_filter('frm_auto_save_interval', 'auto_save_interval');
Parameters
- None
Examples
Autosave interval
Use this code example to change the default 30 seconds autosave interval value in milliseconds.
add_filter('frm_auto_save_interval', 'auto_save_interval');
function auto_save_interval() {
return 10000;
}