Used By
Used By | Description |
---|---|
wp-includes/post.php: wp_insert_post() | Insert or update a post. |
Fires once an existing post has been updated.
Use this hook whenever you need to compare values before and after the post update.
This hook runs after the database update.
This hook pass up to 3 arguments, as follows:
$post_ID
;$post_after
(post object after the update);$post_before
(post object before the update);File: wp-includes/post.php
Version | Description |
---|---|
3.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/post_updated