LLMS_Question::get_correct_option_key()

Get the key of the correct option


Return Return

(int|null)


Top ↑

Source Source

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

	 * @since 3.16.0 Unknown.
	 *
	 * @param array $arr Array of data to be serialized.
	 * @return array
	 */
	protected function toArrayAfter( $arr ) {

		unset( $arr['author'] );
		unset( $arr['date'] );

Top ↑

Changelog Changelog

Changelog
Version Description
3.9.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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