Core Function
View Source on Trac ↗ wp_check_for_changed_dates()
wp_check_for_changed_dates( mixed $post_id, mixed $post, mixed $post_before ) Checks for changed dates for published post objects and save the old date.
Parameters 3 required
| Name / Type | Description |
|---|---|
| $post_id int | Post ID. Required |
| $post WP_Post | The post object. Required |
| $post_before WP_Post | The previous post object. Required |
Return Value
(void)
No return value description available.
Function Information
Since Version
4.9.3
Source File
wp-includes/post.php
Advertisement