check_and_publish_future_post


check_and_publish_future_post ( $post )

Parameters:
  • (int|WP_Post) post Post ID or post object.
Defined at:

Description

Publishes future post and make sure post ID has future post status.Invoked by cron 'publish_future_post' event. This safeguard prevents cron from publishing drafts, etc.

Related Functions

get_others_unpublished_posts, block_core_calendar_has_published_posts, wp_publish_post, _publish_post_hook, block_core_calendar_update_has_published_posts

Top Google Results

User discussions

wpseek mobile