You allow the addition of coursepress_course_enrollment_types by using
$enrollment_types = apply_filters( 'coursepress_course_enrollment_types',
I try to use it in order to make a Buddypress plugin for it, but I think that also a related
<?php do_action( 'course_enroll_fields', $enroll_type ); ?>
is needed above the line
// Check to see if we're offering paid courses.
so plugin developers can hook their custom enrollment types conditions.
Thanks in advance.
Sorry, for my poor English.