The order the common action hooks actually fire during a typical front-end page load. Click any hook for what it's for.
Hooks — Actions and Filters lessonNot the full list — the WordPress core Hook Reference on developer.wordpress.org has every one. This is the common, stable sequence worth knowing by heart.
Must-use plugins have just loaded — the very first hook available.
add_action( 'muplugins_loaded', function () {
// your code here
} );Filters run whenever the relevant template tag is called, not at one fixed point in the page load — so they sit outside the timeline above rather than inside it.
the_titleFilters a post's title every time it's displayed via the_title() or get_the_title().
the_contentFilters post content before display — this is how shortcodes and wpautop() (auto-paragraphs) actually get applied.
excerpt_lengthFilters the word count used by the_excerpt() — the classic example from the paired lesson.
These fire on their own trigger — a save, a login, an admin page load — not at one fixed point in every request, so they're grouped by category instead of a single sequence.
Fires every time any post type is saved — including autosaves and revisions, which trips up a lot of first attempts.
add_action( 'save_post', function () {
// your code here
} );