Hi! This is a little different than this question: https://support.metabox.io/topic/cloneable-group-with-tabs/
I'd like to have tabs within an existing group. Is that possible? Non-working sudo-code example:
array(
'id' => 'panel',
'type' => 'group',
'hidden' => array('type', '!=', 'connect'),
'tabs' => array(
'connect' => array(
'label' => 'Connect',
'icon' => 'Tab icon'
),
'social' => array(
'label' => 'Social media',
'icon' => 'Tab icon'
),
'address' => array(
'label' => 'Address',
'icon' => 'Tab icon'
),
),
'fields' => array(
array(
'name' => 'Connect Panel',
'id' => 'description',
'type' => 'custom_html',
'std' => 'explanation on how to use this',
),
array(
'id' => 'social',
'type' => 'group',
'tab' => 'social',
array(
'name' => 'Facebook URL',
'id' => 'facebook',
'type' => 'url',
'desc' => 'Example: https://www.facebook.com/your-facebook-page',
),
),
array(
'id' => 'address',
'type' => 'group',
'tab' => 'address',
'fields' => array(
array(
'type' => 'heading',
'name' => 'Address',
),
),
array(
'id' => 'general',
'type' => 'group',
'tab' => 'connect',
'fields' => array(
array(
'name' => 'Email',
'id' => 'email',
'type' => 'email',
'desc' => '[email protected]',
),
),
)
);