rupok / flexia

A modern lightweight and versatile theme for WordPress with the endless customization options through Customizer.
https://flexia.pro
11 stars 6 forks source link

Where can I add custom hook so updates will not overwrite them? #46

Open bizactuator opened 2 years ago

bizactuator commented 2 years ago

I am looking for a child functions file, where I can add a custom hook, so it will not get overwritten with an update.

can someone tell me where that file that does not get overwritten with updates is?

priyomukul commented 2 years ago

hey @bizactuator better if you create a child theme then do your customisation on that child theme functions.php file.

ref: https://developer.wordpress.org/themes/advanced-topics/child-themes/#what-is-a-child-theme

Regards