Closed
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