---
title: fluentform/editor_countries
description: "## Description  This filter returns the country names for the country input dropdown. ```php apply_filters('fluentform/editor_countries', $country_names); ``` ## Usage   ```php add_filter('fluentform/editor_countries', function($country_names){ return $country_names; }); ``` ## Parameters - **$country_names** (array) Country Names ## Placement This code should be placed…"
url: "https://fluentforms.com/docs/fluent_editor_countries/"
updated: "2023-07-24"
category: Filter Hooks
---

# fluentform/editor_countries

## Description 

This filter returns the country names for the country input dropdown.

```php
apply_filters('fluentform/editor_countries', $country_names);
```

## Usage  

```php
add_filter('fluentform/editor_countries', function($country_names){
  return $country_names;
});
```

## Parameters

- **$country_names** (array) Country Names

## 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\CountryNames.php
