apply_filters( 'sensei_self_enrollment_not_allowed', $self_enrollment_not_allowed, $course_id ) → {bool}
Check if self-enrollment is not allowed.
Parameters:
Name | Type | Description |
---|---|---|
$self_enrollment_not_allowed |
bool | True if self-enrollment is not allowed, false otherwise. |
$course_id |
int | Course post ID. |
- Since:
- 4.19.0
- Source:
Returns:
Filtered value.
- Type
- bool