Core Function
View Source on Trac ↗ _update_blog_date_on_post_publish()
_update_blog_date_on_post_publish( mixed $new_status, mixed $old_status, mixed $post ) Handler for updating the site's last updated date when a post is published or
Parameters 3 required
| Name / Type | Description |
|---|---|
| $new_status string | The new post status. Required |
| $old_status string | The old post status. Required |
| $post WP_Post | Post object. Required |
Return Value
(void)
No return value description available.
Function Information
Since Version
3.3.0
Source File
wp-includes/ms-blogs.php
Advertisement