Description #
After a form is duplicated this action is fired.
/*
* Source Action
*/
do_action('flentform/form_duplicated', $newFormId);
Usage #
The following would apply to all forms:
add_action('flentform/form_duplicated', 'custom_function', 10, 1);
function custom_function($newFormId)
{
// Do your stuff here
}
Parameters #
- $newFormId (int) Form ID
Source Code #
This action is located in fluentform/app/Services/Form/FormService.php