overriding or removing required files in functions.php from child theme
-
If the functions file of a parent theme has required files such as this:
require get_template_directory() . '/inc/custom-header.php';
Is there a way to prevent these files from loading from within the child theme?
From what I have found, it doesn’t seem possible. At least not in the past. But maybe someone has some new ideas? Or will the files load no matter what, in which case letting the file load and using remove_action will be the best option?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘overriding or removing required files in functions.php from child theme’ is closed to new replies.