Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
基本上,我们可以使用在管理菜单中添加自定义帖子类型
'show_in_menu' => 'menu-slug'
但我想知道在设置菜单(option_page)下添加此自定义帖子类型的代码是什么
它非常简单,您就在附近,只需使用
'show_in_menu' => 'options-general.php'