diff options
author | Mario <mario@mariovavti.com> | 2018-12-15 20:55:28 +0100 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2018-12-15 20:55:28 +0100 |
commit | 3ed6763da9cd34a1124d57928a850d0583cdc023 (patch) | |
tree | 356172e9d8ffe837bee95bc9c1698ece3d5b4606 /doc/hook/item_stored_update.bb | |
parent | dbeabb8ff08819e35774b527c18c31ba9237ca3f (diff) | |
parent | 09b2cdd618217c2dfc0149579ce1780c201a50ea (diff) | |
download | volse-hubzilla-3ed6763da9cd34a1124d57928a850d0583cdc023.tar.gz volse-hubzilla-3ed6763da9cd34a1124d57928a850d0583cdc023.tar.bz2 volse-hubzilla-3ed6763da9cd34a1124d57928a850d0583cdc023.zip |
Merge branch 'custom-item-types' into 'dev'
Add ITEM_TYPE_CUSTOM and hooks for processing custom item types
See merge request hubzilla/core!1431
Diffstat (limited to 'doc/hook/item_stored_update.bb')
-rw-r--r-- | doc/hook/item_stored_update.bb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/hook/item_stored_update.bb b/doc/hook/item_stored_update.bb new file mode 100644 index 000000000..4532a347c --- /dev/null +++ b/doc/hook/item_stored_update.bb @@ -0,0 +1,15 @@ +[h2]item_stored_update[/h2] + +Allow addons to continue processing after an item update has been stored + +It is fed an array of type item (including terms and iconfig data). + +[code] + /** + * @hooks item_stored_update + * Called after updated item is stored in the database. + */ + call_hooks('item_stored_update',$arr); +[/code] + +see: include/items.php |