• Resolved goradagency

    (@goradagency)


    I want to add more places and cities from the files of the plugin, in that way when I edit the files what happens when an update happened? is the changes will be deleted? if yes how can I make the changes and when an update comes the changes that I made will still remain ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Yordan Soares

    (@yordansoares)

    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.

    Thread Starter goradagency

    (@goradagency)

    good by adding these filter hooks it will be deleted when I made an update to the theme or this plugin
    ?

    Plugin Author Yordan Soares

    (@yordansoares)

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘edit the plugin files and update’ is closed to new replies.