Filter: sensei_grading_allowed_user_ids

apply_filters( 'sensei_grading_allowed_user_ids', $user_ids, $course_id ) → {Array.<int>}

Allows to change the list of teacher IDs with grading access allowed for a given course ID.

Parameters:
Name Type Description
$user_ids Array.<int>

The list of user IDs with access granted. By default the course author.

$course_id int

The course ID.

Since:
  • 4.9.0
Source:
Returns:

Filtered list of user IDs with access granted.

Type
Array.<int>