wp_break_attachments attach whichWhat it does:
Searches through $attach, a list of id/file_size/file_name/display lists, for items where display = $which. If any are found, generates aDefined in: /web/philip/tcl/wp-defs.tcl
.
Source code:
foreach item $attach { if { [lindex $item 3] == $which } { return "<br clear=all>" } } return ""