I just read about the existence of after_setup_theme
in this blog post. I'm not experienced in Wordpress development, so I was wondering if there exists some kind of list with all the things that should be in called with after_setup_theme
?
I can't find good documentation about it, so can you also explain something about the function itself and what the best way is to use it?
I just read about the existence of after_setup_theme
in this blog post. I'm not experienced in Wordpress development, so I was wondering if there exists some kind of list with all the things that should be in called with after_setup_theme
?
I can't find good documentation about it, so can you also explain something about the function itself and what the best way is to use it?
Share Improve this question asked Jun 16, 2020 at 13:25 ralphjsmitralphjsmit 4026 silver badges23 bronze badges1 Answer
Reset to default 0after_setup_theme
is a wordpress hook which fires after the theme is loaded
after_setup_theme runs before init and is generally used to initialize theme settings/options before a user is authenticated. According to the Codex: This is the first action hook available to themes, triggered immediately after the active theme's functions.