Description #
This filter returns the country names for the country input dropdown.
apply_filters('fluentform/editor_countries', $country_names);
Usage #
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 file of your active theme.
Source Code #
This filter is located in FluentForm\App\Services\FormBuilder\CountryNames.php