LLMS_Generator_Courses::create_question( array $raw, obj $manager, int $author_id )
Creates a new question
Description Description
Parameters Parameters
- $raw
-
(Required) Raw question data.
- $manager
-
(Required) Question manager instance.
- $author_id
-
(Optional) Author ID to use as a fallback if no raw author data supplied for the question. Default is
null
. When not supplied the fall back will be on the current user ID.
Return Return
(int)
Source Source
File: includes/class-llms-generator-courses.php
Changelog Changelog
Version | Description |
---|---|
4.7.0 | Attempt to sideload images found in the imported post's content and image choices. |
3.30.2 | Added hooks. |
3.3.0 | Introduced. |