Ok, this example
Code:
<hookname>bbcode_create</hookname>
<phpcode><![CDATA[if (!function_exists('handle_bbcode_custom'))
{
function handle_bbcode_custom(&$parser, $code, $options)
{
$code = 'code';
return $code;
}
}]]></phpcode>
<hookname>bbcode_fetch_tags</hookname>
<phpcode><![CDATA[$tag_list['no_option']['custom'] = array(
'callback' => 'handle_external',
'external_callback' => 'handle_bbcode_custom',
'strip_empty' => true
);
$tag_list['option']['custom'] = array(
'callback' => 'handle_external',
'external_callback' => 'handle_bbcode_custom',
'strip_empty' => true
);]]></phpcode>
This is are template of creating custom bbcode? I'm a right?