update hook documentation

This commit is contained in:
redmatrix 2016-10-05 17:25:49 -07:00
parent 24f9bb41df
commit 87ee48bd84
3 changed files with 16 additions and 1 deletions

View File

@ -1 +1,6 @@
[h2]bbcode[/h2]
Called at end of bbcode to html conversion.
Hook argument contains the converted text string.

View File

@ -0,0 +1,7 @@
[h2]bbcode_filter[/h2]
Called at beginning of bbcode to html conversion.
Hook argument contains the text string to be converted.

View File

@ -68,7 +68,10 @@ Hooks allow plugins/addons to "hook into" the code at many points and alter the
called when converting bbcode to markdown
[zrl=[baseurl]/help/hook/bbcode]bbcode[/zrl]
Called when converting bbcode to HTML
Called at end of converting bbcode to HTML
[zrl=[baseurl]/help/hook/bbcode_filter]bbcode_filter[/zrl]
Called when beginning to convert bbcode to HTML
[zrl=[baseurl]/help/hook/bb_translate_video]bb_translate_video[/zrl]
Called when extracting embedded services from bbcode video elements (rarely used)