fluentform_rending_payment_method_

Description #

This action runs before rendering the payment method. All the payment method is rendered using this method.

/*
* Source Action
*/
do_action('fluentform_rending_payment_method_'.$methodName, $activatedMethod, $data, $form);

Usage #

add_action('fluentform_rending_payment_method_stripe', function ( $activatedMethod, $data, $form)
{
   // Do your stuffs here
}, 10, 2);

This code should be placed in the functions.php file of your active theme.

Paramertes #

  • $activatedMethod (array) Payment Method Data
  • $data (array) Form Data
  • $form (object) Form Object

Source Code #

This hook is located in /fluentformpro/src/Payments/Components/PaymentMethods.php

Powered by BetterDocs

Leave a Reply

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