diff options
author | DM42.Net (Matt Dent) <dentm42@dm42.net> | 2019-02-01 00:12:45 -0500 |
---|---|---|
committer | DM42.Net (Matt Dent) <dentm42@dm42.net> | 2019-02-01 09:49:11 -0500 |
commit | 708d2881217a3a66d5ff64a33365e0cb96353962 (patch) | |
tree | c56f2662ecf9ac0ae118a21cab09e95f523b75b5 /doc | |
parent | 76582a60b561d037c3f7016dbb3f05fb48429aff (diff) | |
download | volse-hubzilla-708d2881217a3a66d5ff64a33365e0cb96353962.tar.gz volse-hubzilla-708d2881217a3a66d5ff64a33365e0cb96353962.tar.bz2 volse-hubzilla-708d2881217a3a66d5ff64a33365e0cb96353962.zip |
Add filter hooks and the ability to add buttons to the default status editor
Diffstat (limited to 'doc')
-rw-r--r-- | doc/hook/jot_header_tpl_filter.bb | 5 | ||||
-rw-r--r-- | doc/hook/jot_tpl_filter.bb | 5 | ||||
-rw-r--r-- | doc/hooklist.bb | 6 |
3 files changed, 16 insertions, 0 deletions
diff --git a/doc/hook/jot_header_tpl_filter.bb b/doc/hook/jot_header_tpl_filter.bb new file mode 100644 index 000000000..b17d81d03 --- /dev/null +++ b/doc/hook/jot_header_tpl_filter.bb @@ -0,0 +1,5 @@ +[h2]jot_header_tpl_filter[/h2] + +Allows addon developers to modify the values of replacements fed into jot-header.tpl + +cxref: include/conversation.php diff --git a/doc/hook/jot_tpl_filter.bb b/doc/hook/jot_tpl_filter.bb new file mode 100644 index 000000000..426da3c56 --- /dev/null +++ b/doc/hook/jot_tpl_filter.bb @@ -0,0 +1,5 @@ +[h2]jot_tpl_filter[/h2] + +Allows addon developers to alter the macro replacements prior to being fed into jot.tpl + +cxref: include/conversation.php diff --git a/doc/hooklist.bb b/doc/hooklist.bb index 6d56d5e71..5a804c819 100644 --- a/doc/hooklist.bb +++ b/doc/hooklist.bb @@ -370,6 +370,12 @@ Hooks allow plugins/addons to "hook into" the code at many points and alter the [zrl=[baseurl]/help/hook/jot_tool]jot_tool[/zrl] Deprecated and possibly obsolete. Allows one to add action buttons to the post editor. +[zrl=[baseurl]/help/hook/jot_tpl_filter]jot_tpl_filter[/zrl] + Called to filter template vars before replacement in jot.tpl. + +[zrl=[baseurl]/help/hook/jot_header_tpl_filter]jot_header_tpl_filter[/zrl] + Called to filter template vars before replacement in jot_header.tpl. + [zrl=[baseurl]/help/hook/legal_webbie]legal_webbie[/zrl] Called to validate a channel address |