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
- 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 To Have Two Gutenberg Editors On One Post?
- 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?
- Elegant way to include only published posts with get_objects_in_term()?
- How can I see a list of pages and post where my custom Gutenberg block is used?
- 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
- In what sequence are the hooks fired when a post is “published”?
- Restrict the Number of Posts an Author can Publish (over time)?
- 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?
- 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?
- add filter to “quick edit menu” in wordpress admin
- ‘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 remove dash (-) post status from post title on posts listing page wordpress
- How can I schedule a PAGE to go live at a future date/time?
- 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?
- How do I manage my users post before publish?
- 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
- Manage Private Posts
- Stop wordpress from creating empty/null entries
- WordPress bulk category select when publishing post
- How to populate a select field with post titles/ids in a block
- How can I tell if a post has been published at least once?
- Send email for pending post
- Add delay to publish post
- What function publishes a post when you click the publish button?
- Publish a Silent Post without updating Feed
- How can I create an RSS feed that includes “Private” posts?
- Showing posts for today and future
- 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 doesn’t save or publish new posts
- Add data attribute of post_id for Internal links
- 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?
- WordPress get tags in “publish_post” hook
- 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
- Bulk Post update_post_meta
- Create blog post from external source and set publication date
- Modify loop to include all post statuses not just ‘published’
- 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
- How to Test a Blog Post for Update vs. Publish Status — Unique
- How to handle a post before publishing?
- 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?