Fires once an existing attachment has been updated. Parameters . ( 2.0.0 ) . . $post_ID ( int ) Attachment ID. . . . Hook name: edit_attachment Hook type: action Plugin ref: WordPress Sourcefile: File ref: wp_count_attachments() – Count number of attachments for the mime type(s). Description: Fires once an existing attachment has been updated. Parameters: Deprecated?: No API Letters: A,E Invokers 1 to 1 of 1 wp_insert_post() – Insert or update a post. Implementers