Home › Forums › General Issues › How to add a country list to ACF › Reply To: How to add a country list to ACF
I just posted a long reply saying thanks and that I got a PHP error when I added the block of code with my country array to the class file of the ACF example field type plugin template I downloaded from GitHub. When I added the code to my functions.php, I got no errors but am not sure if there was any effect on my custom Country List.
I ended up with an array on my from end form in place of the Country List field and after posting the array here got a message that I was banned from posting on this site.
Here’s my third attempt at posting this reply and asking where to place the block of code.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.