What is the clean way to disable hooks?
Just commenting out the lines in the woocommerce-hooks.php works for me but isn’t compatible with future updates.
Is there a cleaner way to override the hook file? Just as how the template files can be overridden?
- The topic ‘Clean way to disable hooks?’ is closed to new replies.