Browse: Home / Hooks /

learndash_module_ai_quiz_creation_parsed_questions

apply_filters( 'learndash_module_ai_quiz_creation_parsed_questions',  LearnDashCoreModulesAIQuiz_CreationDTOQuestion[] $questions,  LearnDashCoreModulesAIQuiz_Creationarray<array<string, ,  LearnDashCoreModulesAIQuiz_CreationDTORequest $request )

Filters questions created from JSON parser.


Description #


Parameters #

$questions

(LearnDashCoreModulesAIQuiz_CreationDTOQuestion[]) Collection of questions.

(<span class="LearnDashCoreModulesAIQuiz_Creationarray<arrayLearnDashCoreModulesAIQuiz_Creationarray<array<string,) mixed>> $response_array Response JSON that has been converted to array.

$request

(LearnDashCoreModulesAIQuiz_CreationDTORequest) Request object.


Return #

(LearnDashCoreModulesAIQuiz_CreationDTOQuestion[]) Filtered questions.


Source #

File: src/Core/Modules/AI/Quiz_Creation/Parser.php


Changelog #

Changelog
Version Description
4.8.0 Introduced.