Disable Drip Feed

Home Forums Legacy Support Support queries How-to & Troubleshooting Disable Drip Feed

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #26630
    Danny
    Spectator
    How to disable the Drip Feed function??
    #26685
    MrVibe
    Keymaster
    Check the Course - Settings. a. Edit the Course in WP Admin and locate the Course settings metabox or b. Edit the Course in front end and locate the Course - Settings section and disable drip feed for your course.
    #26985
    Danny
    Spectator
    Yes, I know those settings, but I would like to disable Drip Feed for all users in the Front End course creation. So that Instructors can´t even choose that option when creating courses.
    #27112
    Anshuman Sahu
    Keymaster
    Please try adding the given code in your wplms-customizer.php file in wplms-customizer plugin : add_filter('wplms_course_creation_tabs','remove_drip_for_inst'); function remove_drip_for_inst($settings){   if(!current_user_can('manage_options')){     unset($settings['course_settings']['fields'][10]);     unset($settings['course_settings']['fields'][11]);     unset($settings['course_settings']['fields'][12]);     unset($settings['course_settings']['fields'][13]);     unset($settings['course_settings']['fields'][14]);     return $settings;   }else{     return $settings;   } }
    #36597
    Danny
    Spectator
    Works, Thanks.
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Disable Drip Feed’ is closed to new replies.