add new hook doc

This commit is contained in:
zotlabs 2016-10-14 14:27:21 -07:00
parent 3f7f5f9429
commit 47bfb681c0
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,5 @@
[h2]markdown_to_bb[/h2]
Called when processing markdown to bbcode conversion such as when importing Diaspora protocol source or other markdown sources. The plugin is called post conversion.
The function takes one argument which is the string being converted. It may be additionally processed by the plugin.

View File

@ -320,6 +320,9 @@ Hooks allow plugins/addons to "hook into" the code at many points and alter the
[zrl=[baseurl]/help/hook/magic_auth]magic_auth[/zrl] [zrl=[baseurl]/help/hook/magic_auth]magic_auth[/zrl]
Called when processing a magic-auth sequence Called when processing a magic-auth sequence
[zrl=[baseurl]/help/hook/markdown_to_bb]markdown_to_bb[/zrl]
Called when processing markdown conversion
[zrl=[baseurl]/help/hook/match_webfinger_location]match_webfinger_location[/zrl] [zrl=[baseurl]/help/hook/match_webfinger_location]match_webfinger_location[/zrl]
Called when processing webfinger requests Called when processing webfinger requests