Skip to:
Content
Pages
Categories
Search
Top
Bottom

change the show_tab argument in group settings


  • hiverizecaro
    Participant

    @hiverizecaro

    Hi,
    I would like to change the ‘show_tab’ arguments based on a setting made by teh group admin.
    Something like:

     $is_wanted  = groups_get_groupmeta( $group_id, 'show-to' );
    
    <?php if ($is_wanted): ?>
    'show_tab'=> 'member'
    <?php else: ?>
    'show_tab'=> 'admin'
    <?php endif; ?>

    How can this parameter be accessed?

    Thanks for your help!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar