View Categories

fluentform/payment_settings_{$method}

Description  #

This filter is used when returning the payment settings using the payment key.

apply_filters('fluentform/payment_settings_' . $method, []);

Usage   #

add_filter('fluentform/payment_settings_'.$method, function ($data) {
    // do your stuff
    return $data;
}, 10, 1);

Parameters #

  • $data (array) Payment Settings Data

Placement #

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

Source Code #

This filter is located in FluentFormPro\src\Payments\AjaxEndpoints -> getPaymentMethodSettings()