标签: wordpress
文档明确提到how to create a new post type register_post_type但未提及代码应该在哪个文件中。
register_post_type
任何人都知道在哪里?
答案 0 :(得分:1)
在页面底部的示例中,从register_post_type挂钩调用init。
init