LLMS_Question::get_correct_option()
Get the correct option for the question
Description Description
Return Return
(array|null)
Source Source
File: includes/models/model.llms.question.php
public function get_correct_option() { $options = $this->get_options(); $key = $this->get_correct_option_key(); if ( ! is_null( $key ) && isset( $options[ $key ] ) ) { return $options[ $key ]; } return null; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: