do_action( 'post_updated', int $post_ID, WP_Post $post_after, WP_Post $post_before )

Fires once an existing post has been updated.


Parameters

$post_ID

Post ID.

$post_after

Post object following the update.

$post_before

Post object before the update.


Source

File: wp-includes/post.php

View on GitHub



Changelog

Changelog
Version Description
WP-3.0.0 Introduced.