WordPress中的职位状态是什么？为什么需要它？ （What is Post Status in WordPress and Why Do You Need it?）
帖子状态 is an editorial tool that tells WordPress the stage of a blog post during editing. For example, posts that are incomplete are saved with the post status labeled ‘Draft’. When you publish an article, the status changes to ‘Published’.
You can also see all articles filed under different post statuses by visiting 帖子 » 所有帖子 page.
您还可以通过访问帖子 » 所有帖子页面查看以不同帖子状态归档的所有文章 。
方法2。使用代码创建自定义帖子状态 （Method 2. Create Custom Post Status Using Code）
WordPress has a known 漏洞 in the API used to register custom post statuses. It allows you to create custom post status, but you cannot use it in the admin panel. This means that the coding method can get the job done, but it is not as clean, and you will need to change it after it is officially fixed.