Skip to content

Support private and draft status for wordpress #1109

Closed
@terwer

Description

docs is here: https://codex.wordpress.org/Post_Status_Transitions

The available post statuses are:

new – When there’s no previous status (this means these hooks are always run whenever "save_post" runs.
publish – A published post or page.
pending – A post pending review.
draft – A post in draft status.
auto-draft – A newly created post with no content.
future – A post scheduled to publish in the future.
private – Not visible to users who are not logged in.
inherit – A revision or attachment (see get_children()).
trash – Post is in the trash (added with Version 2.9).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions