plugin hook for update_unseen

This commit is contained in:
zotlabs
2017-08-01 22:25:55 -07:00
parent 01526a9a79
commit 9359f9fe4d
5 changed files with 38 additions and 13 deletions

View File

@@ -0,0 +1,9 @@
[h3]update_unseen[/h3]
Called prior to automatically marking items 'seen'; allowing a plugin the choice to not perform this action.
hook data
[ 'channel_id' => local_channel(), 'update' => 'unset' ];
If 'update' is set to 0 or false on return, the update operation is not performed.