do_action( 'pre_post_update', int $post_id , array $data )
Fires immediately before an existing post is updated in the database.
Parameters
- $post_id
-
Post ID.
- $data
-
Array of unslashed post data.
Source
File: wp-includes/post.php
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |