How to custom WP Plugin Admin only area
-
I would like to hide a specific tab in my plugin so that WP-Admins are the only ones that can view it.
<div id="tabs"> <ul> <li><a href="#tabs-intro">Intro</a></li> <li><a href="#tabs-uploading">Uploading Image Files</a></li> <li><a href="#tabs-pages">General Pages</a></li> <li><a href="#tabs-news">News Items</a></li> <li><a href="#tabs-staff">Staff Listings</a></li> <li><a href="#tabs-mediagallery">Media Gallery</a></li> <li><a href="#tabs-projects">Projects</a></li> <li><a href="#tabs-events">Events</a></li> <li><a href="#tabs-sync">Sync Website</a></li> </ul>
I would like to hide the Sync Website tab so admins of the site are the only ones who can view it.
Any Help would be greatly appreciated.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to custom WP Plugin Admin only area’ is closed to new replies.