attachment_updated WordPress Action Hook
The attachment_updated hook is triggered whenever an attachment is updated. This hook can be used to perform actions when an attachment is updated, such as updating the post that the attachment is associated with.
do_action( 'attachment_updated', int $post_ID , WP_Post $post_after , WP_Post $post_before ) #
Fires once an existing attachment has been updated.