Filter: sensei_quiz_answer_file_upload_types

apply_filters( 'sensei_quiz_answer_file_upload_types', $allowed_mime_types, $question_id ) → {false|array}

Filters allowed which mimetypes are allowed.

Parameters:
Name Type Description
$allowed_mime_types false | array

Array of allowed mimetypes. Returns false to allow all file types.

$question_id int

Question post ID.

Since:
  • 3.7.0
Source:
Returns:

Allowed mime types or false to allow all types.

Type
false | array