• I’m trying to modify woocommerce/includes/wc-template-functions.php
    by copying it to child-theme/woocommerce/wc-template-functions.php and modifying it there. My changes are not effective.
    How to do it correctly?

Viewing 1 replies (of 1 total)
  • I would not expect that to work. Its not one of the files that can be replaced. You would need to override the templates with your own templates in a child theme. These will take precedence over theme or plugin templates. Next, write some remove_action() calls to unhook the actions setup in wc-template-hooks.php, then add new hooks to call your own functions.

Viewing 1 replies (of 1 total)
  • The topic ‘Ovveriding wc-template-functions.php in child theme’ is closed to new replies.