---
title: fluentform/payment_smartcode
description: "## Description  This filter is available before rendering the payment shortcodes. ```php apply_filters('fluentform/payment_smartcode', $value, $property, self::getInstance()); ``` ## Usage   The following would apply to all forms: ```php add_filter('fluentform/payment_smartcode', function($value, $property, $instance){ return $property; }, 10, 1); ``` ## Parameters -…"
url: "https://fluentforms.com/docs/fluentform_payment_smartcode/"
updated: "2023-07-21"
category: Filter Hooks
---

# fluentform/payment_smartcode

## Description 

This filter is available before rendering the payment shortcodes.

```php
apply_filters('fluentform/payment_smartcode', $value, $property, self::getInstance());
```

## Usage  

The following would apply to all forms:

```php
add_filter('fluentform/payment_smartcode', function($value, $property, $instance){
   return $property;
}, 10, 1);
```

## Parameters

- **$value** (string) Form Data
- **$property** (array) Substring after {payment.
- **$instance** (Object) Shortcode Parser Instance

## 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 FluentForm\App\Services\FormBuilder\ShortcodeParser -> parseShortCodeFromString($parsable, $isUrl = false, $isHtml = false)
