LLMS_Question::get_next_choice_marker()

Retrieve the next marker for question choices


Return Return

(string)


Top ↑

Source Source

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

	 */
	protected function get_next_choice_marker() {
		$next_index = count( $this->get_choices( 'ids', false ) );
		$type       = $this->get_question_type();
		if ( ! is_array( $type['choices'] ?? false ) ) {
			return false;


Top ↑

Changelog Changelog

Changelog
Version Description
3.30.1 Fixed bug which caused the next marker to be 1 index too high.
3.16.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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