XF 2.0 Custom BbCode with PHP Callback?

Jaxel

Well-known member
Has anyone made any custom BbCode with PHP callback yet?

I'm looking for some examples...
 
Figured it out...

Code:
namespace EWR\Rio\BbCode;

use XF\BbCode\Renderer\AbstractRenderer;

class Stream
{
    public static function bbcode($tagChildren, $tagOption, $tag, array $options, $renderer)
    {
        return 'my html';
    }
}
 
Back
Top Bottom