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 surpass the default limit of 99 when adding On Submit actions
Usage
add_filter('frm_on_submit_action_options', 'increase_confirmation_action_limit');
Parameters
- $options (array)
Examples
Increase confirmation action limit
By default, there is a limit of 99 for confirmation actions. Use this code example to increase this from 99 to 200. Note: Limit needs to be raised with frm_form_action_limit for this code snippet to work.
add_filter('frm_on_submit_action_options', 'increase_confirmation_action_limit');
function increase_confirmation_action_limit( $options ) {
$options['limit'] = 200; //Change 200 to your limit.
return $options;
}
add_filter('frm_form_action_limit',
function( $limit ) {
return 200; //Change 200 to your limit
}
);