I'm trying to customise the Storefront theme from WooCommerce, by creating a child-theme. I've already done a couple of things in the 'functions.php' file, but I can't seem to overwrite the 'require' in the parent.
In my child-theme's 'functions.php' I'm trying to overwrite the file it requires in the parent's 'functions.php'. Unfortunately, when I do this, it keeps showing the required file the parent called for.
Below is the line of code I've tried:
require get_template_directory() . '/inc/storefront-template-hooks.php';
What am I doing wrong?