Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

LLMS_Question::sort_choices( string $choice_a, string $choice_b )

Sort choices by marker.


Parameters Parameters

$choice_a

(string) (Required) Serialized choice data.

$choice_b

(string) (Required) Serialized choice data.


Top ↑

Return Return

(int)


Top ↑

Source Source

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

	 * @param string $choice_a Serialized choice data.
	 * @param string $choice_b Serialized choice data.
	 * @return int
	 */
	private function sort_choices( $choice_a, $choice_b ) {

Top ↑

Changelog Changelog

Changelog
Version Description
4.4.0 Don't allow objects when using unserialize().
3.30.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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