Description
Fires immediately before an existing post is updated in the database.
Occurrences
Filename | Line Number |
---|---|
wp-includes/post.php | 4607 |
Parameters
Type | Name | Description |
---|---|---|
int | $post_id | Post ID. |
array | $data | Array of unslashed post data. |
PHP Doc
/**
* Fires immediately before an existing post is updated in the database.
*
* @since 2.5.0
*
* @param int $post_id Post ID.
* @param array $data Array of unslashed post data.
*/