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 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.
本文标签: hooksWhich things should be called with aftersetuptheme
版权声明:本文标题:hooks - Which things should be called with `after_setup_theme`? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742344753a2457300.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论