(PECL bbcode >= 0.9.0)
bbcode_add_element — Adds a bbcode element
$bbcode_container
, string $tag_name
, array $tag_rules
) : boolAdds a tag to an existing BBCode_Container tag_set using tag_rules.
bbcode_containerBBCode_Container resource, returned by bbcode_create().
tag_nameThe new tag to add to the BBCode_Container tag_set.
tag_rulesAn associative array containing the parsing rules; see bbcode_create() for the available keys.
Retorna TRUE em caso de sucesso ou FALSE em caso de falha.