Why is child theme’s functions.php loaded before the parent’s ?
Doesn’t it make better sense if it loaded AFTER the parent’s ?
Since child theme is supposed to make use of / extend / override / customize existing functionality, I thought it’d be better if everything was defined beforehand (functions, globals etc.)
I know php doesnt care the order, but it’s common sense to define functions before they are used.
So, in short, is there a specific reason why child’s functions.php is loaded BEFORE rather than AFTER ?
- The topic ‘Child Theme functions.php’ is closed to new replies.