Summery Summery
Handler for updating the current site’s last updated date when a published post is deleted.
Syntax Syntax
Parameters Parameters
- $post_id
-
(Required) Post ID
Source Source
File: wp-includes/ms-blogs.php
}
if ( 'publish' !== $new_status && 'publish' !== $old_status ) {
return;
}
// Post was freshly published, published post was saved, or published post was unpublished.
wpmu_update_blogs_date();
}
/**
* Handler for updating the current site's last updated date when a published
* post is deleted.
Advertisement
Changelog Changelog
| Version | Description |
|---|---|
| 3.4.0 | Introduced. |