LLMS_Question_Choice::save()
Save $this->data to the postmeta table
Contents
Return Return
(void)
Source Source
File: includes/models/model.llms.question.choice.php
public function save() {
$this->data['id'] = $this->id; // Always ensure the ID is set when saving data.
$update = update_post_meta( $this->question_id, $this->prefix . $this->id, $this->data );
return ( $update );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.16.0 | Introduced. |