Please add do_action for custom coursepress_course_enrollment_types


You allow the addition of coursepress_course_enrollment_types by using

$enrollment_types = apply_filters( 'coursepress_course_enrollment_types',

in /includes/admin-pages/courses-details-overview.php.

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.