LDLMS_Cloze_Answer::maybe_add_points( array $answer_data, string $answer_type, array $answer, int $question_id )
If individual answers points are activated, add points field to each answer.
Contents
Description #
Parameters #
- $answer_data
-
(array) (Required) Answer Data.
- $answer_type
-
(string) (Required) Type of answer node.
- $answer
-
(array) (Required) Answer info.
- $question_id
-
(int) (Required) Question ID.
Return #
(array)
Source #
File: includes/classes/answer-types/class-ldlms-cloze-answer-type.php