Two notes about the example code you posted.
- The posted code is incorrect. You have an unclosed comment above the add_action that will mean nothing happens.
/* Added by Victor: (removed extra emtpy lines only here)
- If that is all you were trying to do in the child, then it is completely unnecessary to have a child just to add an action (or several actions).
You can use the Customizer -> HTML Injection (has slightly different wordings in What vs Where interface) -> Site <HEAD> Section.
That option is intended for exactly that purpose. Or you could also used a plugin like: https://wordpress.org/plugins/head-footer-code/
In the long run, it is best to avoid child themes if you can, especially with Weaver Xtreme which has so many features that usually make a child unnecessary.