Description #

This action runs every time an input item is rendered. If you need to do anything in the background you can use this action. $item is the key of the component that is being rendered.

* Source Action
do_action('fluentform_render_item_'.$item['element'], $item, $form);

Usage #

add_action('fluentform_render_item_submit_button', 'custom_function', 10, 2);

function custom_function($item, $form)
   // Do your stuff here

Parameters #

  • $item (array) Input Item
  • $form (object) Form Object

Source Code #

This hook is located in every input component fluentform/app/Services/FormBuilder/Components/

Powered by BetterDocs

Leave a Reply

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