_update_blog_date_on_post_publish
_update_blog_date_on_post_publish ( $new_status, $old_status, $post )
Parameters:- (string) new_status The new post status.
- (string) old_status The old post status.
- (WP_Post) post Post object.
Defined at: - Introduced in WordPress: 3.3.0
- Deprecated in WordPress: —
Description
Handler for updating the site's last updated date when a post is published or
an already published post is changed.