fluentform_before_insert_payment_form

Description #

If the form has payment then this action will be fired before submission. You can use this to do your payment related custom tasks.

/*
* Source Action
*/
do_action('fluentform_before_insert_payment_form', $insertData, $data, $form);

Usage #

add_action('fluentform_before_insert_payment_form', 'custom_funtion', 10, 3);

function custom_function($insertData, $data, $form)
{
   // Do your stuff here
}

Parameters #

  • $insertData (array) Form response data
  • $data (array) Input data
  • $form (Object) The $form Object

Source Code #

This filter is located in FluentForm\App\Modules\Form -> onSubmit() in app/Modules/Form/FormHandler.php

Powered by BetterDocs

Leave a Reply

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