Title: Tabs in admin
Last modified: August 18, 2016

---

# Tabs in admin

 *  [bernardflach](https://wordpress.org/support/users/bernardflach/)
 * (@bernardflach)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/tabs-in-admin/)
 * if i’ve got an array with these values :
 * x1 = tab1
    x2 = tab2 x3 = tab3 etc .. etc ..
 * is it possible to display these tabs into the adminpages using add_submenu_page.
   The number of tabs may vary.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/tabs-in-admin/#post-371957)
 * Codex has an article that explains [Adding_Administration_Menus](http://codex.wordpress.org/Adding_Administration_Menus)
   in detail.
 *  Thread Starter [bernardflach](https://wordpress.org/support/users/bernardflach/)
 * (@bernardflach)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/tabs-in-admin/#post-371958)
 * This codex article does not explain an x-number of tabs. The problem here is 
   that the number of tabs may vary according to userlevel.
 *  Thread Starter [bernardflach](https://wordpress.org/support/users/bernardflach/)
 * (@bernardflach)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/tabs-in-admin/#post-371959)
 * if ive got tab 1 tab 2 tab3 i need
    function 1, function 2 and function 3
 * is it possible to generate thes functions on the fly of has anyone a different
   solusion.
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/tabs-in-admin/#post-371972)
 * that link explains how to add multiple tabs. he answered your first question,
   atleast if I understood it the way he did.
 * If its done via user level then just use some if/else stuff to check the user
   level and display accordingly.
 * seems simple enough to me, and i JUST figured out plugins
 *  Thread Starter [bernardflach](https://wordpress.org/support/users/bernardflach/)
 * (@bernardflach)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/tabs-in-admin/#post-372018)
 * Also if the name of the tabs vary ? i also can insert user defined tabs .. however,,
   my tabs vary by name. This means i have to create functions that also vary by
   name and this is not possible i think …
 * mt_my_own_page_andaverydifferentname () { }
    mt_my_own_page_andyetanothernameformytab(){}
   mt_my_own_page_andAgainADifferentname () { }
 * All of these names come out of an array. if one has rights (and yes i know the
   rights system of wordpress…dont tell me i dont know wordpress) gets a few tabs
   assigned … the number of tabs may vary from 1 to lets say 10 ..
 * i just want to find out a way to display tabs that are listed in an array.
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/tabs-in-admin/#post-372040)
 * > “dont tell me i dont know wordpress”
 * Did I say that? I dont think so.
 * have a nice day and good luck!
 *  Thread Starter [bernardflach](https://wordpress.org/support/users/bernardflach/)
 * (@bernardflach)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/tabs-in-admin/#post-372172)
 * This might be a language problem then. However .. the question is not solved 
   yet .. does anyone else know how to create unique functions on the fly (witch
   i need to create the tabs) the functions must be unique too in order to show 
   up in the admin. Hope someone else knows a solution or don’t i need the functions
   at all.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Tabs in admin’ is closed to new replies.

 * 7 replies
 * 3 participants
 * Last reply from: [bernardflach](https://wordpress.org/support/users/bernardflach/)
 * Last activity: [20 years, 4 months ago](https://wordpress.org/support/topic/tabs-in-admin/#post-372172)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
