How to set the post statusPost .DOCX Source for WordPress The post’s status can be set only from an extended attribute. The value is one string from this set: draft pending private publish trash