develog

[wordpress] post_status 본문

카테고리 없음

[wordpress] post_status

냐옴 2024. 5. 10. 14:11

 

Publish
Viewable by everyone. (publish)

Future
Scheduled to be published in a future date. (future)

Draft
Incomplete post viewable by anyone with proper user role. (draft)

Pending
Awaiting a user with the publish_posts capability (typically a user assigned the Editor role) to publish. (pending)

Private
Viewable only to WordPress users at Administrator level. (private)

Trash
Posts in the Trash are assigned the trash status. (trash)

Auto-Draft
Revisions that WordPress saves automatically while you are editing. (auto-draft)

Inherit
Used with a child post (such as Attachments and Revisions) to determine the actual status from the parent post. (inherit)

 

https://wordpress.org/documentation/article/post-status/

 

Post Status

Posts in WordPress can have one of a number of statuses. The status of a given post determines how WordPress handles that post. For instance, public posts viewable by everyone are assigned the publish status, while drafts are assigned the draft status. The

wordpress.org

 

Comments