Hides tab or tabs with id.
hide(id1, [id2], ...)

id | string, id of the tab

Returns integer.

#### Description

The tab(s) must exists in the .tabs array of the tabs. The tab object is identified by the .id property. The method returns the number of hidden tabs that were shown before.
If you have tabs defined in the following way: $('#tabs').w2tabs({ name: 'tabs', active: 'tab1', tabs: [ { id: 'tab1', text: 'Tab 1' }, { id: 'tab2', text: 'Tab 2' }, { id: 'tab3', text: 'Tab 3' }, { id: 'tab4', text: 'Tab 4' } ] }); You can add tabs: w2ui['tabs'].hide('tab3');