Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Generator::create_question( array $raw, $manager, int $author_id )
Creates a new question
Parameters Parameters
- $raw
-
(array) (Required) Raw question data.
- $author_id
-
(int) (Optional) author ID to use as a fallback if no raw author data supplied for the lesson.
Return Return
(int) The WP_Post ID of the generated question.
Source Source
File: includes/class.llms.generator.php
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.30.2 | Added hooks. |
3.3.0 | Introduced. |