Filter: sensei_course_enrolment_providers_prevent_manual_enrol

apply_filters( 'sensei_course_enrolment_providers_prevent_manual_enrol', $providers ) → {Array.<Sensei_Course_Enrolment_Provider_Interface>}

Filter providers that can handle frontend enrolment.

It is used to filter providers that can affect enrolment on the frontend.

Parameters:
Name Type Description
$providers Array.<Sensei_Course_Enrolment_Provider_Interface>

List of enrolment providers instances.

Since:
  • 4.5.2
Source:
Returns:

Filtered list of enrolment providers instances.

Type
Array.<Sensei_Course_Enrolment_Provider_Interface>