!
Hubzilla DevelopmentIs there any example code for the bbcode_filter and bbcode hooks? I see them in the bbcode function (include/bbcode.php), but I can't find them used anywhere. I'm thinking of creating a "buy-it-now" type button for the cart tool that would add an item to the cart and take the user to the beginning of the checkout phase.
Maybe something like:
[zcart=buynow][item]##[/item][buttontext]Buy it Now: $10[/buttontext][/zcart]
So.... if I were to create a custom bbcode tags, which hook should they reside in? Or is there a better way to do it?