diff options
author | zotlabs <mike@macgirvin.com> | 2016-10-17 22:09:41 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-10-17 22:09:41 -0700 |
commit | 17091bd38c4e4e5d8b1812dd1d9efeffe0046d02 (patch) | |
tree | 74a4d72846767c58d26b113b14de3da4dd0fb0c0 /doc/hooklist.bb | |
parent | 437aa168d136db2c782ed2b366e411721f5f605c (diff) | |
download | volse-hubzilla-17091bd38c4e4e5d8b1812dd1d9efeffe0046d02.tar.gz volse-hubzilla-17091bd38c4e4e5d8b1812dd1d9efeffe0046d02.tar.bz2 volse-hubzilla-17091bd38c4e4e5d8b1812dd1d9efeffe0046d02.zip |
add get_photo hook to go along with get_profile_photo hook. This allows a plugin to over-ride the permissions for cover photos or insert a different photo in place of that requested
Diffstat (limited to 'doc/hooklist.bb')
-rw-r--r-- | doc/hooklist.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/hooklist.bb b/doc/hooklist.bb index e67f791ae..5226e7de6 100644 --- a/doc/hooklist.bb +++ b/doc/hooklist.bb @@ -239,6 +239,9 @@ Hooks allow plugins/addons to "hook into" the code at many points and alter the [zrl=[baseurl]/help/hook/get_features]get_features[/zrl] Called when get_features() is called +[zrl=[baseurl]/help/hook/get_photo]get_photo[/zrl] + Called when photo content (except for profile photos) is fetched in mod_photo + [zrl=[baseurl]/help/hook/get_profile_photo]get_profile_photo[/zrl] Called when local profile photo content is fetched in mod_photo |