do_action( 'attachment_updated', int $post_id, WP_Post $post_after, WP_Post $post_before )

Fires once an existing attachment 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
4.4.0 Introduced.