Filter: sensei_rest_api_schema_question_type

apply_filters( 'sensei_rest_api_schema_question_type', $schema, $type ) → {array}

Modify or add REST API schema for a question type.

Parameters:
Name Type Description
$schema Array

Schema for a single question.

$type string

Question type.

Since:
  • 3.9.0
Source:
Returns:

Filtered schema.

Type
array