Take the 2-minute tour ×
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 4 down vote accepted

muplugins_loaded is the very earliest:

http://codex.wordpress.org/Plugin_API/Action_Reference

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

share|improve this answer
5  
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

Your Answer

 
discard

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.