Action hook 'attachment_updated'

in WP Core File wp-includes/post.php at line 4804

Description

Fires once an existing attachment has been updated.

Occurrences

Filename Line Number
wp-includes/post.php 4804

Parameters

Type Name Description
int $post_id Post ID.
WP_Post $post_after Post object following the update.
WP_Post $post_before Post object before the update.

PHP Doc

/**
			 * Fires once an existing attachment has been updated.
			 *
			 * @since 4.4.0
			 *
			 * @param int     $post_id      Post ID.
			 * @param WP_Post $post_after   Post object following the update.
			 * @param WP_Post $post_before  Post object before the update.
			 */