Hide "Members" menu in course

Home Forums Legacy Support Support queries How-to & Troubleshooting Hide "Members" menu in course

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5895
    nemilio
    Spectator
    Hi; How can I hide the members menu for non logged users or users not taking the course in Modern child theme? Thanks, Nelson
    #6148
    Anshuman Sahu
    Keymaster
    Please add the given code in your wplms-customizer.php file in your wplms-customizer plugin  : add_filter('wplms_course_nav_menu','wplms_course_nav_menu'); function wplms_course_nav_menu($menu_array){ unset($menu_array['members']); return $menu_array;   }
    #6293
    nemilio
    Spectator
      Thanks
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Hide "Members" menu in course’ is closed to new replies.