WordPress как на ладони
wordpress jino
событие не описано

attachment_updated хук-событие . WP 4.4.0

Fires once an existing attachment has been updated.

Использование

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

Связи хука

Используется в: wp_insert_post()

Остальные хуки из: wp_insert_post():

Кусок кода с хуком

Фрагмент из: wp-includes/post.php WP 4.9
...
			 *
			 * @param int $post_ID Attachment ID.
			 */
			do_action( 'edit_attachment', $post_ID );
			$post_after = get_post( $post_ID );

			/**
			 * 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.
			 */
			do_action( 'attachment_updated', $post_ID, $post_after, $post_before );
		} else {

			/**
			 * Fires once an attachment has been added.
			 *
			 * @since 2.0.0
			 *
			 * @param int $post_ID Attachment ID.
			 */
			do_action( 'add_attachment', $post_ID );
		}

		return $post_ID;
	}

...