_update_blog_date_on_post_publish

SummerySummery

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

Syntax

_update_blog_date_on_post_publish( string $new_status, string $old_status, WP_Post $post )

ParametersParameters

$new_status

(string) (Required) The new post status.

$old_status

(string) (Required) The old post status.

$post

(WP_Post) (Required) Post object.

SourceSource

File: wp-includes/ms-blogs.php


			

ChangelogChangelog

Changelog
Version Description
3.3.0 Introduced.
Scroll to Top