apply_filters( 'sensei_course_open_access', $is_open_access, $course_id ) → {bool}
Filter if the given course has open access turned on.
Parameters:
Name | Type | Description |
---|---|---|
$is_open_access |
bool | Open access setting value. |
$course_id |
int | Course ID. |
- Since:
- 4.11.0
- Source:
Returns:
Open access setting value.
- Type
- bool