WordPress Load Order
Micro-post today, on the load order of WordPress..
For reference purposes, the load order of WordPress goes like this:
index.php -> wp-blog-header.php -> wp-load.php -> wp-config.php -> wp-settings.php
Notes
ABSPATH
is defined inwp-load.php
, before any database queries- After
wp-settings.php
, WordPress returns towp-blog-header.php
- After revisiting
wp-blog-header.php
, WP runstemplate-loader.php
- In the Admin area, WordPress load-order skips
wp-blog-header.php
, bypassing the blog header and template loader