Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

1 Answer 1

up vote 6 down vote accepted

muplugins_loaded is the very earliest.

1) WordPress Codex - Action Reference List

2) Hooks Run List

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
answer updated. check desired action with "Hooks run list". – tazo todua Jul 10 at 15:10

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.