WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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 – Daithí 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.