Support Meta Box Show Hide (Javascript) Hide tab Reply To: Hide tab

#10292
Jason KinneyJason Kinney
Participant

I am using the tabs extension. That is how the extension is outputting the markup.

https://www.screencast.com/t/4SlfgLGdb9l.

I have other tabs in other setting pages that are titled Static Images and the filter runs on all meta boxes so the filter would need to be able to target specific settings pages or I need unique css ID's and/or the ability to add a class to a settings page.

Otherwise, it seems that any tab that has the title Static Images will get unwillingly targeted.

I added a prefix to the tabs array key under $settings_pages[] and this works, but targeting a href in css seems hacky. A custom class wrapper would seems more appropriate and/or a filter that can target a settings page and not run on all pages.