I decided to create my own wordpress theme. Before i begin i wanted to know how Wordpress interprets PHP code. For example:
1) On functions.php, some themes start with wordpress features, some start with styles and scripts, some start to define folder patchs etc...
Is there any standard on how to list on the right way? How does WordPress understand it, does they load all code first and then they list it based on function priority number?
Any suggestion?