So like WP must load series of files from,
index.php -> ... -> wp-header.php -> ... ->functions.php
…and so on upon execution.
Also there must be a similar flowchart for functions callings, conditionals and such during the execution. Is such a flowchart(s) available anywhere?
There is this rather in-depth explanation found at,
Which also includes some diagrams/flowcharts.
This is also just the start of understanding the WordPress initialization process to which also should include information about the template hierarchy, as well as inspecting which hooks are fired on which pages and when. Combined together you can develop a pretty deep understanding of what’s going on and where!
Or this flow chart from Rarst as seen in this question
Run your own backtraces….
…in their most basic form.
I can not vouch for the above four links specifically, however they are additional material which supports this question that you or others may find useful.
Want to see what actions get fired during a request? Take a look at this plugin by Toscho,
Want to see what’s hooked and where with what priority? Take a look at this plugin by Rarst,
Very handy for when wanting to know where internal and custom hooks are within the priority chain.
And there’s also this plugin by Kaiser,
Only one screenshot of several, rest can be found on GitHub Repo link
There’s also this flow chart explaining the query process and what to use when which will help compliment this question,
Original source question and answer here, flow chart by Rarst.
This flowchart and Q&A I can vouch for.
(clicking the image will take you directly to that Q&A thread for more information).
Its one thing to look at a flow chart, which is very useful with regards to the visualizing the initialization process and the above links to that topic do some justice but as a WordPress developer, once you’re in the thick of things “developing”, you want to make use of other debugging tools that help you visualize and understand whats happening during some of these requests. I believe all that’s mentioned above go hand in hand.
These are not the ONLY tools that are available, nor the only methods for getting valuable data during initialization/request processes but they are a selection of what I use. Feel free to add more!
You can also interact with this diagram. Clicking the image will take you directly the Theme Handbook by WordPress for more information.
#changelog: 04/10/12 added flow chart from Rarst / "Make sense of WP core load"