---
title: fluentform/honeypot_name
description: "## Description  This filter is available just before rendering the form. You can use this filter to modify the form object. ```php apply_filters('fluentform/honeypot_name', $name, $formId); ``` ## Usage   The following would apply to all forms: ```php add_filter('fluentform/honeypot_name', function($name, $formId){ return…"
url: "https://fluentforms.com/docs/fluentform_honeypot_name/"
updated: "2023-07-21"
category: Filter Hooks
---

# fluentform/honeypot_name

## Description 

This filter is available just before rendering the form. You can use this filter to modify the form object.

```php
apply_filters('fluentform/honeypot_name', $name, $formId);
```

## Usage  

The following would apply to all forms:

```php
add_filter('fluentform/honeypot_name', function($name, $formId){
    return $name;
});
```

## Parameters  

**$name**(string) Honeypot Field Name
**$formId**(int) Form ID

## 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\Modules\Form\HoneyPot -> getFieldName($formId)
