Filter: sensei_filter_category_questions_by_author

apply_filters( 'sensei_filter_category_questions_by_author', $quiz_id ) → {array}

When a question category is expanded to its questions, if the quiz owner is not an admin, only the questions owned by the teacher are included. This behaviour can be disabled with this filter.

Parameters:
Name Type Description
$quiz_id array

The quiz id.

Since:
  • 3.10.0
Source:
Returns:

Whether questions should be filtered by author.

Type
array