[Resolved] when updating the plugin (theme) overwrite functions.php

Home Forums Support [Resolved] when updating the plugin (theme) overwrite functions.php

Home Forums Support when updating the plugin (theme) overwrite functions.php

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1282118
    detanatar

    when updating the theme functions.php is overwritten and changes information is lost
    how can hooks make changes to functions.php

    #1282209
    David
    Staff
    Customer Support

    Hi there,

    You cannot add code to the functions.php using GP Hooks.

    If you need to edit the functions.php then you will have to use a child theme:

    https://docs.generatepress.com/article/using-child-theme/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.