I’ve done it. Here is the post with answers on publishing a post marked as scheduled. Been running the code for 2 years on the site in question and it’s reliable.
Related Posts:
- Scheduled Posts and wp-cron – Why don’t scheduled posts publish if too old?
- Show recent published posts
- Can’t schedule post for another time
- Get publish post link?
- How to add custom status to quick edit
- Is it normal for a scheduled post to say “Missed Schedule”
- Visual Studio SignTool.exe Not Found
- How can I delay the publishing of a page or post?
- How to prevent posts from being published too close to each other?
- How can I set a draft page as parent without publishing?
- Why doesn’t wp_update_post() update the post_status field?
- Display a post’s publish date from 2112
- Does blocking xmlrpc.php affect pinging update services like pingomatic
- I can’t preview post’s change once they are published
- How to change post status in hook?
- Publish post when edit post form submitted with enter/return pressed on keyboard
- featuring old articles without messing up with the archive
- Hiding by default specific post status on backend list?
- How to make scheduled post preview visible to anyone?
- Why does publish_{custom-post-type} fire on update?
- Is there a way to know if a post has been published through XML-RPC?
- How to unpublish a page and still keep a draft?
- Change scheduled posts to published
- get_terms on save_post hook
- Save and Publish button not working after installing SSL
- What differences are there between a Privately Published post and a Draft post?
- Disable “preview changes” button
- Error trying to publish immediately. Post status = future (Missed schedule error)
- Can we have private drafts?
- Update post meta on bulk edit / update
- Schedule future post to custom post status instead of publish?
- Custom post type suppress transition from future to publish
- How to switch wordpress post status between publish and schedule in MySQL?
- WordPress action hooks related to scheduled posts not Fired
- publish_post called too early
- Custom save button shows ‘Are you sure you want to…’ dialog
- Controlled publishing in WordPress
- Change the text of the publish button to Save
- Do action for only switch status for publish_post
- problem with publish date not always appearing [duplicate]
- Update status of all posts in a category
- What is happening to make my Update/Publish button disabled?
- Ajax function on #publish only saves as draft – how to make it publish?
- What is the reason for the new_to_publish hook not working?
- Include future posts in tags and in search
- After I publish a post where does it go
- Should you manually ping new WordPress posts?
- Authors should not publish
- I need to modify drafts using custom data from database and then publish it
- How to show or hide a post based on meta_value selection?
- i am making text changes on my page show in preview not on live site, why? [closed]
- Is WordPress “publish” atomic?
- How to move post process to background
- How does redirect work when publish date changes and date in url changes?
- How to set a Post’s default visibility to ‘Private’ in Gutenberg?
- Gutenberg publish date datepicker
- If click on Save/Publish change Post Status to Pending Review instead Publish
- How publish post from pending status
- How Google Indexer should only index published pages
- Create blog post from external source and set publication date
- Publish and go to page [duplicate]
- Publish Post Action Not Working
- Auto draft posts when scheduled date is reached
- suffix title with “EXPIRED” when scheduled post has reached it’s published date
- Manage multiple wordpress installs (Best Practice)
- Showing the next post’s title, even if it’s an unpublished post
- Can’t publish posts, Jetpack won’t connect, empty notification emails to my inbox [closed]
- 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
- Duplicate post on publish
- How is it possible to use a very reduced version of WordPress?
- Problems in updating a self-developed plugin
- Turn Off Automatic Trash Deletion?
- Post publish only hook?
- What is considered the post’s creation date for wp_insert_post?
- Custom post status and preview
- Get a list of ALL Statuses both registered and built-in
- How to resolve scheduled posts that say “Missed Schedule”
- Peer Review Plugin for Posts? [closed]
- How to do conditional publishing?
- Remove ‘private’ and ‘pending review’ options from post status dropdown
- How can I create custom button in post.php
- Modify Post Status Arguments
- Schedule Page to Menu [duplicate]
- Why does get_post_status display published when attachment is in trash?
- Add custom post type drafts to RSS feed
- How to fix missing function in wp-cron?
- Does WordPress provide an API for scheduling posts?
- How do I manage my users post before publish?
- WordPress bulk category select when publishing post
- Accessing private posts through REST API, same code that works in remote doesn’t in local
- Restrict access to a post once it is tagged as a given status
- What function publishes a post when you click the publish button?
- Bulk edit orders to ‘wc-processing’ status
- post is not showing more than 3949 words
- Publish button inside custom field group
- Disable Facebook Comments Automatically On CPT
- Posted posts scheduling to unhide for new members
- How to edit wordpress post without republishing
- check if a draft has been moved there from publish to draft
- Cron job for wp_cron.php running but not publishing scheduled posts