---
title: "fluentform/payment_settings_{$method}"
description: "## Description  This filter is used when returning the payment settings using the payment key. ```php apply_filters('fluentform/payment_settings_' . $method, []); ``` ## Usage   ```php add_filter('fluentform/payment_settings_'.$method, function ($data) { // do your stuff return $data; }, 10, 1); ``` ## Parameters…"
url: "https://fluentforms.com/docs/fluentform_payment_settings_method/"
updated: "2023-07-25"
category: Filter Hooks
---

# fluentform/payment_settings_{$method}

## Description 

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

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

## Usage  

```php
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](http://codex.wordpress.org/Theme_Development#Functions_File) file of your active theme.

## Source Code

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