Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I was interested in checking out how the WordPress code flow works... When I googled it, ( probably with the wrong keywrods), all I ended up was this;


which is an excellent shot at it but very very old thus worth nothing today.

I also searched how the heck wp_head works, could not find it neither.

In order to understand wp from the ground up, I thoght I should get a full grasp of from url to all the way to wp_footer() what really happens... Ant pointers in this regard is highly appreciated.


share|improve this question

2 Answers 2

Probably the Program Flow on ToolPress is something for you: Wordpress 3.0 Program Flow File Inclusions (Default Request); PDF. Contains important filenames, constants and hooks. My Favorite Cheat Sheet so far for the code flow stuff.

share|improve this answer
Thanks hakre for share this pdf! –  bueltge Nov 19 '10 at 12:27
that link is now dead :( I've put a link that references many different wp charts and is dated 10/2012 as an answer below. tomjn.com/168/wordpress-flow-charts-diagrams –  Coombesy Mar 2 '13 at 20:54

Also you can see on the WP Stack, here my version for download.

share|improve this answer
Also a nice idea to sketch the overview. –  hakre Nov 19 '10 at 13:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.