Last update at :2024-07-06,Edit by888u
Posts in WordPress contain a status field. This field determines how WordPress handles the post. For example, a public post that everyone can view is assigned a published status, while a draft is assigned a draft status. The status is stored in the post_status field in the wp_posts table.
WordPress provides 8 built-in states that can be used:
Status
Meaning
Description
public
Publish
Everyone can see it.
future
Timing
Articles planned to be published at some point in the future
draft
Draft
Saved but unfinished and unpublished articles
pending
Pending review
Articles that have not yet been published have been completed and submitted for review
private
Private
Posts marked as private are only visible to administrator-level WordPress users
trash
Recycle Bin
Articles in Recycle Bin
auto-draft
Auto-Draft
WordPress automatically saves drafts when users edit
inherit
Inherit
Used with child posts such as Attachments and Revisions to determine the actual status from the parent post.
Recommended site searches: cheap domain name registration, US host purchase, domain name registration number query, independent IP host, server hosting, website server, qq proxy server IP, overseas host, website virtual host space, Guangdong website registration
发表评论