diff options
author | M.Dent (DM42.Net) <dentm42@gmail.com> | 2018-09-19 21:18:06 -0400 |
---|---|---|
committer | M.Dent (DM42.Net) <dentm42@gmail.com> | 2018-09-19 21:18:06 -0400 |
commit | f2c59b3881d50dce907821054d9b79df4d009827 (patch) | |
tree | f53cf1743e28008a371eb19c0d8fb2dc2c18453e /doc/hook/attach_delete.bb | |
parent | 34fec995f711b03bc19580ee9e57c22712cf51df (diff) | |
download | volse-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.bb | 11 |
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 |