最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

hooks - Which things should be called with `after_setup_theme`?

programmeradmin1浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论