After the latest upgrade all the edits I did in the header.php reverted back. Is there a way to customize the header without being overwritten by updates?
if you want to make changes to the header.php or any function files, you will need to use a child theme. Child theme functions will remain unchanged on update.
What are you changing to the header.php? It may be possible to achieve without editing the function.
Thanks for getting back to me. I’m adding some lines to assign favicons to different devices and also a Facebook Pixel to track our FB traffic. Both should be in the <head> section.