_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:

Description

Handler for updating the site's last updated date when a post is published or an already published post is changed.

Related Functions

_update_blog_date_on_post_delete, update_blog_details, update_blog_status, wpmu_update_blogs_date, update_blog_option

Top Google Results

User discussions

wpseek mobile