Description #

This action fires right before the a form is rendered. If you want to do certain task after a form rendering then you can catch this action hook and do your staff. For example checking for some condition wether to show the form or not.

* Source Action
do_action('fluentform_before_form_render', $form);

Usage #

The following would apply to all forms:

add_action('fluentform_before_form_render', 'your_custom_function', 10, 1);

function your_custom_function( $form )
   // Do your stuffs here

Parameters #

Placement #

This code should be placed in the functions.php file of your active theme. Also you can use php snippet plugins.

Source Code #

This hook is located in fluentform\app\Hooks\Common.php file.

Powered by BetterDocs