How To remove Specific Menus for Users when Logged In WPLMS v4

Home Forums Legacy Support Support queries Update Issues How To remove Specific Menus for Users when Logged In WPLMS v4

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #339868
    kenetork
    Participant
    Hi, I need to remove those 4 items specifically, how can I do that? Please see this: https://prnt.sc/zaq52h Those 4 menues are extra not needed!
    #340003
    Anshuman Sahu
    Keymaster
    please try adding this given code in your wplms-customizer.php file in wplms customizer plugin :
    add_filter('wplms_course_sub_nav',function($settings){
    	foreach ($settings as $key => $ss) {
    		if(in_array($ss['slug'], array(BP_COURSE_STATS_SLUG,'quiz_results','assignment_results','notes_reviews' ))){
    			unset($settings[$key]);
    		}
    	}
    	return $settings;
    });
    #340053
    kenetork
    Participant
    ok, But I don't have that plugin, could you please sned it to me?
    #340055
    kenetork
    Participant
    I found a wplms cutosmizer plugin, tried installing it and Istill can0't get rid of this, please take a look, you already have ftp details for this site for you to test and help me, maybe this version is not working, it says: Plugin Name: WPLMS Customizer Plugin Plugin URI: http://www.Vibethemes.com Description: A simple WordPress plugin to modify WPLMS template Version: 1.0 since 2014 please access and update it via ftp if needed to get rid of this have the proper plugin version. Thanks!
    #340322
    Anshuman Sahu
    Keymaster
    Well you have to add the code into the plugin file after installing and activating the customizer plugin in your site .
    #340383
    kenetork
    Participant
    Did you add this for me? I can't see those menus now, please let me know. If yes, please let me know where did you do that. Thanks!
    #340624
    Anshuman Sahu
    Keymaster
    Well it seems in your wordpress the editor is disbaled due to some reason please provide cpanel creds or ftp creds in order to add the code .
    #340701
    kenetork
    Participant
    This reply has been marked as private.
    #340817
    Anshuman Sahu
    Keymaster
    ok code is added.Now it will only work with updated wplms plugin . Please update the plugin .
Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘How To remove Specific Menus for Users when Logged In WPLMS v4’ is closed to new replies.