I'm looking for a documentation page where wordpress action lifecycle is explained. Does it exist?
I can't understand if init is called before admin_head or viceversa (even if the name is auto-explenatory in this case)
|
|
|
The order and appearance of actions depend on the page and the loaded files.
The only way to really know which actions are available is to look at them on different pages. There is a magic action On the front page of a simple blog, there are ~2300 actions – including filters which may be used as actions too. |
|||
|
Here you can find a list (in order) of the actions that get run during a typical page request in WordPress: http://codex.wordpress.org/Plugin_API/Action_Reference#Actions_Run_During_a_Typical_Request Note that many actions are called multiple times at various times in the code. There is no such thing as a “one true linear action chain”. |
|||
|