Description
Fires once an existing post has been updated.
Occurrences
Filename | Line Number |
---|---|
wp-includes/post.php | 4860 |
Parameters
Type | Name | Description |
---|---|---|
int | $post_id | Post ID. |
WP_Post | $post_after | Post object following the update. |
WP_Post | $post_before | Post object before the update. |
PHP Doc
/**
* Fires once an existing post has been updated.
*
* @since 3.0.0
*
* @param int $post_id Post ID.
* @param WP_Post $post_after Post object following the update.
* @param WP_Post $post_before Post object before the update.
*/