Using arbitrary post status without registering it

I’m pretty sure only attachments have post status “enforcement” (“inherit” or “private”), and that’s only inside wp_insert_attachment(). Otherwise there’s no cron action or routine I’m aware of that’ll change stati.

I still think you should opt for registering it though. Without any arguments, everything will still behave the way it does currently; they won’t appear in post results, nor as part of the admin UI.

And since WP_Query whitelists post stati, you can now use it’s awesome power to grab limbos with post_status=limbo 😉

Leave a Comment

error code: 523