WordPress at a glance
action is not described

add_attachment action-hook . WP 2.0.0

Fires once an attachment has been added.

Usage

add_action( 'add_attachment', 'action_function_name_7184' );
function action_function_name_7184( $post_ID ){
	// action...
}
$post_ID(int)
Attachment ID.

Changelog

Since 2.0.0 Introduced.

Where the hook is called

wp_insert_post()
add_attachment
wp-includes/post.php 3884
do_action( 'add_attachment', $post_ID );

Where the hook is used (in WP core)

Usage not found!