Hi zusammen,
Ich hab wahrscheinlich ne ziemlich einfache Frage, die Antwort steht auch schon drunter aber irgendwie Peil ichs einfach ned :confused:
Ich hab ein Plugin, dass ein top-Level Menü anlegt, logischerweise ist ja die erste subpage gleich dem Toplevel... Aber da ich mehrere sublevels anlege, stellt sich mir die Frage, wie kann ich denn die erste seite ausblenden???
Den Text drunter hab ich in wordpress.org gefunden, sagt mir jetzt aber irgendwie gar nichts...
Wär super, wenn mir jemand helfen könnte :-D
In situations where a plugin is creating it's own top-level menu, the first submenu will normally have the same link title as the top-level menu and hence the link will be duplicated. The duplicate link title can be avoided by calling the add_submenu_page function with the parent and file parameters being given the same value.
vg, matthias