There are two methods for creating tabs.

  • add_main_tab: It should only be used once and immediately after the metabox has been created.
  • add_tab : You can add as many tabs as you want.

Creating the main tab:

The basic structure to create tabs in the following:


*It is important that you follow the order and names of each tab item.


Creating tabs.

You can add tabs within the main tab.



Follow the same structure to create as many tabs as you need in your project.


It is also possible to add icons to each item tab.


Documentation Menu