This topic has 2 replies, 2 voices, and was last updated 11 years by inboxi.

  • Author
  • #1342
     inboxi
    Participant

    i tried this code to hide default profile “about me” tab and it did not work. can you correct it? thanks.

    add_action(‘after_setup_theme’,’kleo_remove_actions’);
    function kleo_remove_actions()
    {

    $bp_tabs[‘base’] = array(
    ‘type’ => ‘regular’,
    ‘name’ => apply_filters(‘kleo_extra_tab2’,__(‘About me’, ‘kleo_framework’)),
    ‘group’ => ‘Base’,
    ‘class’ => ‘regulartab’
    );

    }

    #1364
     SQadmin
    Keymaster

    Hi,
    The Base field being already defined by default you need to remove it. Here you just replaced it with the exact values. To remove it:
    $bp_tabs[‘base’] = array();

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #1385
     inboxi
    Participant

    perfect. thanks again 🙂

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

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?