LLMS_Question_Choice::get_choice()

Generic choice getter which automatically uses correct functions based on choice type


Return Return

(string)


Top ↑

Source Source

File: includes/models/model.llms.question.choice.php

	public function get_choice() {
		if ( 'image' === $this->get( 'choice_type' ) ) {
			return $this->get_image();
		}
		return $this->get( 'choice' );
	}


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.