I am developing my own plugin and I am trying to figure out how to add tabs to my admin page.
Is the process similar to how we add meta boxes?
Ie, something like add_tab_box(…); and I specify a callback?
When I say tabs I mean tabs like below:
I am developing my own plugin and I am trying to figure out how to add tabs to my admin page.
Is the process similar to how we add meta boxes?
Ie, something like add_tab_box(…); and I specify a callback?
When I say tabs I mean tabs like below:
I advice you to read this topic: Here you can find complete guide making options page with tabbed content.
Or you can just copy the html of the tabbed page that you’ve liked, and use it on your own options page.
I made my options page with tabs too, but with api. Tabs and the fields are taken from config array.
Here you can see $aus_tabs
array.
And here is the class of options page.
This class is used to render the form fields.