Codex tools: Log in
This hook is called when an attachment created by wp_insert_attachment() in wp-includes/post.php.