WordPress at Your Fingertips
action is not described

attachment_updated action-hook . WP 4.4.0

Fires once an existing attachment has been updated.


add_action( 'attachment_updated', 'action_function_name_8185', 10, 3 );
function action_function_name_8185( $post_ID, $post_after, $post_before ){
	// action...
Post ID.
Post object following the update.
Post object before the update.

Where the hook is called

wp-includes/post.php 4391
do_action( 'attachment_updated', $post_ID, $post_after, $post_before );

Where in WP core the hook is used WordPress

wp-includes/default-filters.php 441
add_action( 'attachment_updated', 'wp_check_for_changed_slugs', 12, 3 );
wp-includes/default-filters.php 445
add_action( 'attachment_updated', 'wp_check_for_changed_dates', 12, 3 );