How WordPress Is Loaded, Step by Step

Have you ever wondered how WordPress loads all those small goodies that enable you to run a complete site off it?

Take a look at the Complete WordPress Initialization Flowchart below:

WordpressInitializationFlowChart1 WordpressInitializationFlowChart4wp-settings.php_ WordpressInitializationFlowChart5wpfunction (1)
WordpressInitializationFlowChart6template_loader.php_ (1)



If you’re in the mood for reading a really long (but very good) description of it, check out this article on

Also related to these is an article in the Codex listing all the actions loaded on a typical page request.

If you enjoyed this post, make sure to subscribe to WP Mayor’s RSS feed.

About Jean Galea

Jean Galea is a WordPress developer, entrepreneur and padel player. He is the founder of WP Mayor, the plugins WP RSS Aggregator and EDD Bookings, as well as the podcast. His personal blog can be found at

  1. catmandave
    catmandave December 9, 2012 at 18:39 | | Reply

    Where is the flow chart? 🙂

  2. Steve
    Steve August 22, 2013 at 21:49 | | Reply

    Hi Jean, excellent flowcharts! Just sent an email requesting permission to include these diagrams in a client report for a university. Details in the email, thanks!

  3. palimadra
    palimadra September 6, 2013 at 20:03 | | Reply

    Hi Jean

    Thank you for sharing the flowcharts. Excellent information and these should be included in the codex.

Leave a Reply

Please enter an e-mail address