Confused about ‘after_setup_theme’
-
WP explanation of what hook ‘after_setup_theme’ does has left me more confused:
This hook is called during each page load, after the theme is initialised. It is generally used to perform basic setup, registration, and init actions for a theme.
Okay so it’s called after the theme is initialised hence the name ‘after_setup_theme’.
BUT THEN IT SAYS it performs basic setup, registration, and init actions for a theme.
That’s telling me it’s involved in setting the theme up from the word go and not something that comes in after the theme has been setup??? How confusing.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Confused about ‘after_setup_theme’’ is closed to new replies.