XF 1.5 Custom BBcode: Can you use multiple options?

joec

Member
I'm attempting to create a new table tag to allow border options and style name options, but is this possible? Or am I limited to only one option field per BBcode?
 

Chris D

XenForo developer
Staff member
By default you're limited to a single option, but if you use a PHP callback then you can split the option string into an array to effectively work with multiple options.
 

Case

Well-known member
By default you're limited to a single option, but if you use a PHP callback then you can split the option string into an array to effectively work with multiple options.
Is there an example of a PHP callback to handle this anywhere?
 
Top