aboutsummaryrefslogtreecommitdiffstats
path: root/doc/en/hook/attach_delete.bb
diff options
context:
space:
mode:
Diffstat (limited to 'doc/en/hook/attach_delete.bb')
-rw-r--r--doc/en/hook/attach_delete.bb11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/en/hook/attach_delete.bb b/doc/en/hook/attach_delete.bb
new file mode 100644
index 000000000..3b63f28d3
--- /dev/null
+++ b/doc/en/hook/attach_delete.bb
@@ -0,0 +1,11 @@
+[h2]attach_delete[/h2]
+
+Invoked when an attachment is deleted using attach_delete().
+
+[code]
+$arr = ['channel_id' => $channel_id, 'resource' => $resource, 'is_photo'=>$is_photo];
+call_hooks("attach_delete",$arr);
+[/code]
+
+
+See include/attach.php