(Tempera) Changing only one line in a function (mqtranslate_hooks.php)
-
Hello,
I use tempera theme (child theme) and mqtranslate plugin. I want to change some css parameters in mqtranslate_hooks.php without losing them with a future update. The parameters are in mqtrans_header function.
I’m a total newbie, I solved modifying the file function.php in my child theme. I removed that function a create another one with the new parameters and then with “add action” i called that in mqtranslate_hooks. Ok it works, but as told, I’m a total newbie, so the question is:
is there a way to change only one string in mqtrans_header function, without doing all the mess I did? ?? And without the risk of losing that change with a future update.
Some suggest would really appreciate, thanks,
bye,
weo78
- The topic ‘(Tempera) Changing only one line in a function (mqtranslate_hooks.php)’ is closed to new replies.