procedure for removing Admin Bar Sub Nav item
There has been loads of help showing code for adding your own Admin Bar Nav/Sub Nav items.
What is the procedure for removing an unwanted item from the list?
Of course, I could just comment out the line of code but then I have an upgrade nightmare everytime the code base is updated.
How would you write a filter or action to eliminate it in your own code? For example: I turned off the Blog creation capability yet the option still remains on the Admin Bar: My Account >> Blogs >> Create a Blog . It is already adding confusion and I want it gone.
You must be logged in to reply to this topic.