Browse: Home / Snippets /

Bypass cron background enrollment in MemberPress 2.1+


Snippet #

Important: All snippets are provided as-is without support or guarantees. These snippets are provided as guidelines for advanced users looking to customize LearnDash. For any additional help or support with these snippets, we recommend reaching out to a LearnDash Expert.

add_filter( 'learndash_memberpress_min_courses_count_for_silent_course_enrollment', function( $count ) {
  return 999; // Big number so it won't use background course enrollment

Note: requires the MemberPress and LearndDash MemberPress addon plugins