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.
Use this hook to filter the delay time before redirecting when On Submit Redirect action is delayed.
Usage
add_filter('frm_redirect_delay_time', 'change_delay_time');
Parameters
- $delay_time (int): Delay time in milliseconds.
Examples
Change delay time
Use this code example to change the delay time to 5 seconds.
add_filter('frm_redirect_delay_time', 'change_delay_time');
function change_delay_time( $delay_time ) {
return 5000;
}