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);
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.
This hook is located in /fluentformpro/src/Payments/Components/PaymentMethods.php
Powered by BetterDocs
Your email address will not be published. Required fields are marked *