aboutsummaryrefslogtreecommitdiffstats
path: root/doc/hook/attach_delete.bb
diff options
context:
space:
mode:
authorM.Dent (DM42.Net) <dentm42@gmail.com>2018-09-19 21:18:06 -0400
committerM.Dent (DM42.Net) <dentm42@gmail.com>2018-09-19 21:18:06 -0400
commitf2c59b3881d50dce907821054d9b79df4d009827 (patch)
treef53cf1743e28008a371eb19c0d8fb2dc2c18453e /doc/hook/attach_delete.bb
parent34fec995f711b03bc19580ee9e57c22712cf51df (diff)
downloadvolse-hubzilla-f2c59b3881d50dce907821054d9b79df4d009827.tar.gz
volse-hubzilla-f2c59b3881d50dce907821054d9b79df4d009827.tar.bz2
volse-hubzilla-f2c59b3881d50dce907821054d9b79df4d009827.zip
Document new hooks
Diffstat (limited to 'doc/hook/attach_delete.bb')
-rw-r--r--doc/hook/attach_delete.bb11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/hook/attach_delete.bb b/doc/hook/attach_delete.bb
new file mode 100644
index 000000000..3b63f28d3
--- /dev/null
+++ b/doc/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