Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › Hide unit video This topic has 17 replies, 4 voices, and was last updated 2 years, 9 months ago by Anshuman Sahu. Viewing 4 posts - 16 through 19 (of 19 total) ← 1 2 Author Posts July 26, 2021 at 11:16 am #366428 VeronicaModerator confirm are you want to hide that only for instructor or for all? July 27, 2021 at 1:20 pm #366510 MrVibeKeymaster Try this code add_filter('wplms_course_creation_tabs',function($tabs){ unset($tabs['course_curriculum']['fields']['curriculum_elements'][2]['types'][1]); return $tabs; }); August 3, 2021 at 3:16 pm #367046 silverchairSpectator I want to hide Dynamic Quiz for any user. I've tried the provided code by @Mr.Vibe and it's not works, refer: https://prnt.sc/1ipwzi4 August 4, 2021 at 2:22 pm #367158 Anshuman SahuKeymaster this one is working tried and tested : add_filter('wplms_course_creation_tabs',function($tabs){ array_splice($tabs['course_curriculum']['fields'][0]['curriculum_elements'][2]['types'], 1,1); return $tabs; },9999); Author Posts Viewing 4 posts - 16 through 19 (of 19 total) ← 1 2 The topic ‘Hide unit video’ is closed to new replies.