Description #
This action runs before rendering the input elements of the form. If you need to do anything in the background you can use this action.
/*
* Source Action
*/
do_action('fluentform/form_element_start', $form);
Usage #
add_action('fluentform/form_element_start', 'custom_function', 10, 1);
function custom_function()
{
// Do your stuff here
}
Parameters #
- $form (object) Form Object
Source Code #
This action is located in fluentform/app/Services/FormBuilder/FormBuilder.php -> build()