Adding a Tab Layout

The Fusion Tabs Element has built-in functionality that allows it to be expanded with additional layouts.

To add a new tab layout, use the fsn_tabs_layouts filter to add a new selectable option to the Tabs Layout parameter in the Edit Tabs modal.

By default, the only difference that a selecting new layout makes in the output is that it adds your new layout key to the tabs container. Additionally, there are actions that you can hook into to further customize the tabs output based on the selected layout. See the example for more details.