WPDev.one
Core Function
View Source on Trac ↗

check_and_publish_future_post()

check_and_publish_future_post( mixed $post )

Publishes future post and make sure post ID has future post status.

Parameters 1 required

Name / Type Description
(int

| WP_Post) $post Post ID or post object.

Required

Return Value

(void)
No return value description available.

Function Information

Since Version
2.5.0
Source File
wp-includes/post.php
Advertisement