At the time of writing, there are no filters on the initial edits array passed from PHP through to javascript and into the editor initialisation function.
If such a filter existed, it would be possible to apply a post_status field, but no PHP or JS hooks exist currently to do this.
The Editor component also provides no opportunities to modify this structure to add/edit values.
Related Posts:
- What differences are there between a Privately Published post and a Draft post?
- Let private posts stay in status “private” after edit through “editors”
- featuring old articles without messing up with the archive
- Hiding by default specific post status on backend list?
- transition_post_status hook doesn’t have any POST data when publish with Gutenberg [closed]
- How publish post from pending status
- I am creating a front end dashboard where I need to show all the posts by the current user. So, I need to show posts in publish
- editPost without undo entry
- add action only on post publish – not update
- How to prevent posts from being published too close to each other?
- How to hide specific Gutenberg blocks settings from users
- How can I make it so the Add New Post page has Visibility set to Private by default?
- Is it possible to Schedule Attachments in WordPress?
- Post publish only hook?
- Publish pending article from front end with a button?
- How to add a “publish” link to the quick actions
- How to limit user to publish post per day and per role?
- When a user creates a post (pending), send a confirmation link that allows them to publish
- Restrict the Number of Posts an Author can Publish (over time)?
- Add javascript when post is published
- Setting post meta data to random value during post status transition / on publish
- Get post from custom REST endpoint in Gutenberg
- How to change post status from publish to draft using hook in wordpress?
- Enable commenting on front-end preview page for pending posts
- Detect Post Type when publish_post is ran
- Custom Post Status Posts viewable to the public
- Does WordPress remove draft status automatically?
- What Can I Use To Add A Custom Button Between Publish button and Move To Trash?
- Prevent post from being published if no category selected
- Limit number of posts a user can make per minute?
- publish_post conflicts with save_post
- How do I batch create revisions of all posts?
- ‘transition_post_status’ only fires when pressing “Add New”
- Planned private posts get published immediately
- Notification to Admin or Author upon new post [duplicate]
- How can I create custom button in post.php
- Limit Gutenberg blocks available to users to choose from
- Private Posts/Pages & Search
- Update post status from “publish” to “trash” for half of posts
- How can I set a Post’s default visibility to private and pending review checked
- Automatically Updating Publish Date Bug
- How to give capability (publish contributors posts) to author role?
- Print a message if excerpt is empty after posts have been publish/update!
- Are private posts visible to search engines?
- How to change post status from frontend?
- Whitelist Author of Private Post
- How to Programmatically add an empty Block to every post on wordpress site?
- Check if checkbox is marked on publish/update post
- Show certain posts in a LIST format that members have been granted access to
- How to switch wordpress post status between publish and schedule in MySQL?
- Post visibility based on user role
- Prevent scheduled post being published if date/time is past current date/time
- Calling Different Custom Post Timestamps in a table
- Admin – create custom post status and display above table
- WordPress capabilities on pending post status
- Do action on publish or update?
- Block editors annoying warnings
- $post->post_type not working
- how can i allow users to view their own pending posts in a front-end page
- Assign published posts to another user automatically
- Manage Private Posts
- Stop wordpress from creating empty/null entries
- How can I tell if a post has been published at least once?
- Send email for pending post
- Is there a way getting post fields using `transition_post_status`
- Add delay to publish post
- Publish a Silent Post without updating Feed
- Display amount of pending posts in back/front end
- How can my plugin display a populated new post window
- How can I create an RSS feed that includes “Private” posts?
- Showing posts for today and future
- Indenting within a blockquote
- Show Last Revision Of Post That Has A Published Status On Single Page
- Override WordPress core post-template.php block template
- How can I restore posts from ‘trash’ with their previous post_status? – WordPress
- WordPress React re-rendering to many times
- WordPress doesn’t save or publish new posts
- Add data attribute of post_id for Internal links
- Updating post status via rest api
- Hook when post is set from published to draft?
- My posts are getting to Auto draft when I try to Publish
- Moving Gutenberg content from one website to another (block media ids wrong?)
- How to publish a post if condition is met?
- Hide or remove custom post status
- Put page on Archived statut after end of publication date
- get_next_post() not working with future post status
- How to add a block to a category page?
- Bulk Post update_post_meta
- Create blog post from external source and set publication date
- I want to send push notification just after publish a new post
- Function/filter or plugin to change post status based on custom field value
- Action while post is being published
- How can I make my blog private? [closed]
- Do anything on post_status change [duplicate]
- Is there a block to print post link standalone in a block theme?
- How can add custom commands in post-new.php in wordpress
- Making a private post visitable by link?
- Notify/check if the content of a custom gutenberg block has changed on save_post
- Implementing Soft Delete for Bulk Actions / Empty Trash
- WordPress custom post_status after 6.6 version