LLMS_Question_Choice::create( array $data )
Creates a new question
Parameters Parameters
- $data
-
(array) (Required) question data array
Return Return
(self)
Source Source
File: includes/models/model.llms.question.choice.php
public function create( $data ) { $this->id = uniqid(); return $this->update( $data )->save(); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.16.0 | Introduced. |