Default course settings

Home Forums Legacy Support Support queries How-to & Troubleshooting Default course settings

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #349890
    gsjaak_118
    Participant
    Hi! How can i make the following settings default (and hide them) when creating a course. See: https://prntscr.com/1116lfr I have tried the course custom nav plugin but its not there. Would be great to be able to hide it and set it certain defauts. Kind regards
    #349945
    Diana
    Participant
    This is the first tab of create course component, you cannot hide that
    #350173
    gsjaak_118
    Participant
    Would be great if made possible, you could do this in the 3.9 version How can i change the default tho? I want all courses to be evaluated automatically for instance by default.
    #350217
    Diana
    Participant
    Not Possible to Remove this First Tab To make courses as "Automatic Evaluation" By default please try adding this given code in your wplms-customizer.php file in wplms customizer plugin :
    
    add_filter('wplms_course_creation_tabs',function ($settings){
    
      foreach ($settings['course_settings']['fields'] as $key => $setting) {
    
        if($setting['id']=='vibe_course_auto_eval'){
    
          $settings['course_settings']['fields'][$key]['default'] = 'S'; 
    
        }
    
      }
    
      
    
      return $settings;
    
    },9999);
    
    #350556
    gsjaak_118
    Participant
    Wil this snippet work in version 4?
    #350630
    Diana
    Participant
    Because the position of course setting changed then this will work in v4
    
    add_filter('wplms_course_creation_tabs',function ($settings){
    
      foreach ($settings['create_course']['fields'] as $key => $setting) {
    
        if($setting['id']=='vibe_course_auto_eval'){
    
        	//print_r('################Course Settings');
        	//echo '<pre>'; print_r($settings);
    
          $settings['create_course']['fields'][$key]['default'] = 'S'; 
    
          //echo '<pre>'; print_r($settings);
    
        }
    
      }
    
      
    
      return $settings;
    
    },9999);
    
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Default course settings’ is closed to new replies.