admin管理员组

文章数量:1332980

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 badges
Add a comment  | 

1 Answer 1

Reset to default 0

after_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.

本文标签: hooksWhich things should be called with aftersetuptheme