flentform_form_duplicated

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 filter is located in fluentform/app/Modules/Form/Form.php

Powered by BetterDocs

Leave a Reply

Your email address will not be published. Required fields are marked *