Take the 2-minute tour ×

After the solution to this question was to get a function to launch BEFORE the init action is fired by taking the sequence out of its function, it got me thinking, is there any earlier in the WP load sequence that I can hook a function into?

share|improve this question
I really wish they would have added a plugin call before the whole system was loaded. –  Xeoncross Jan 22 '12 at 4:00
add comment

1 Answer

up vote 4 down vote accepted

muplugins_loaded is the very earliest:


(via: http://stackoverflow.com/questions/2535994/sequential-order-of-wordpress-hooks)

share|improve this answer
Yep, but note that it runs before loading of normal plugins and theme so it is somewhat useless in practice. plugins_loaded and after_setup_theme are earliest appropriate for normal plugins and theme accordingly. –  Rarst Jul 21 '11 at 11:09
add comment

Your Answer


