Hello @goradagency,
This is a good question and depending on your case, I have three different answers for you:
1. If your country is not on the list of available countries: see Adding a new country for more details.
2. If your country is on the list of available countries, but you think there are name typos, missing places, etc., please create a new issue or send your changes as a pull request.
3. If your country is on the list of available countries, but you want to custom the State and Places, please see Using the filter hooks for more details.
Best regards,
Yordan.
good by adding these filter hooks it will be deleted when I made an update to the theme or this plugin
?
Hello @goradagency,
If you use the filter hooks in the functions.php
file of an active child theme or within a custom plugin (recommended), your customizations will not be lost when updating the plugin.
Note that you can also use the filter hooks in the functions.php
file of a parent theme, but if this theme is updated you will lose the changes. That’s why I recommend using a child theme instead or a custom function plugin.
Best regards,
Yordan.