LLMS_Question_Choice::save()

Save $this->data to the postmeta table


Return Return

(void)


Top ↑

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 );

	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.16.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.