How Do I Load My Action Earlier Enough?
The page you referenced does have the correct order of events listed there. If you want to see which events were fired for a particular request you can install debug-bar and debug-bar-action-hooks. If you are wanting to send a header either plugins_loaded or init will work. But it is recommended to use the send_headers action … Read more