Red Documentation:

Contents

attach_delete


Invoked when an attachment is deleted using attach_delete().


$arr = ['channel_id' => $channel_id, 'resource' => $resource, 'is_photo'=>$is_photo];
call_hooks("attach_delete",$arr);



See include/attach.php