LLMS_Question_Choice::get_choice()
Generic choice getter which automatically uses correct functions based on choice type
Return Return
(string)
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' );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.16.0 | Introduced. |