Control tabs visibility with PHP

This topic contains 3 replies, has 2 voices, and was last updated by  Alex Rollin 5 years, 3 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #464297

    Michael Bourne
    Expired Member
    Post count: 2

    Hey there, looking for a nod in the right direction.

    Let’s say my CPT has 3 categories: cars, trucks, boats.

    On my tabs setup, I have 3 same name fieldsets as primary tabs, with other fields underneath.

    What I would like to do server side is disable the tabs from being output based on what categories are selected.

    Nothing in the templates jumped ot at me, soI fugred I’d have to do it with a filter.

    Any tips?

    Cheers

    #464311

    Alex Rollin
    Moderator
    Post count: 27815

    “geodir_tab_settings” is an array of stdClass settings for filtering tabs.
    Let us know if you have any other questions about that.

    #464758

    Michael Bourne
    Expired Member
    Post count: 2

    Exactly what I needed, thanks!

    #464791

    Alex Rollin
    Moderator
    Post count: 27815

    Excellent 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket