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
3.0.0 Introduced.