Student Menu Options

Home Forums Legacy Support Support queries How-to & Troubleshooting Student Menu Options

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #234658
    rahmediahouse
    Spectator
    How can I remove menus from student menu.
    • Activity, Meetings, Forums, BuddyDrive, Points
    https://prnt.sc/q1s83t
    #234759
    logan
    Member

    Hello,

    Please paste this snippets in your wp-admin >>> plugins >>> editor >>> wplms-customizer plugin >>> wplms-customizer.php

    add_action( 'bp_actions', 'remove_member_profile_tabs', 5 );

    function remove_member_profile_tabs() {

    global $bp;

    bp_core_remove_nav_item( 'activity' ); //for activity tab removal

    bp_core_remove_nav_item( 'forums' ); //for forums tab removal

    bp_core_remove_nav_item( 'groups' ); //for group tab removal

    bp_core_remove_nav_item( 'messages' ); //for messages tab removal

    bp_core_remove_nav_item( 'friends' ); //for friends tab removal

    bp_core_remove_nav_item( 'course' ); //for course tab removal

    bp_core_remove_nav_item( 'achievements' ); //for achievements tab removal

    bp_core_remove_nav_item( 'notifications' ); //for notifications tab removal

    }

    Refer: http://prntscr.com/ms6htq

    #234768
    rahmediahouse
    Spectator
    I am not able to navigate. Can you please send me the proper navigation for making the changes in the code.
    #234772
    logan
    Member
    please give me the URL of the course as well as the credentials, I will check it by myself then tell you a detailed review about it.
    #234825
    rahmediahouse
    Spectator
    This reply has been marked as private.
    #234922
    logan
    Member
    This reply has been marked as private.
    #266377
    abhibadh
    Participant
    I am also not able to navigate your instruction. Can you please send me the proper navigation for making the changes in the code.
    #266516
    Diana
    Participant
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Student Menu Options’ is closed to new replies.