Posted: May 17, 2018 at 5:54 am
Hi, I got the following notice in my EE 4:
A new State named “Nairobi (NBR)” was dynamically added from an Event Espresso form for the Country of “Kenya”.
Is this simply because a users specified this when they checked out?
Is there any way to block this feature?
Yes that message about the new state is because a user couldn’t find their state, so they used the option to add one.
You can remove the option to add a new state by adding the following code to your site:
You can add the above to a functions plugin or into your WordPress theme’s functions.php file.