lifterlms_template_question_content( $args )


Source Source

File: includes/functions/llms.functions.templates.quizzes.php

	function lifterlms_template_question_content( $args ) {

		$type = $args['question']->get( 'question_type' );

		$template = apply_filters( 'llms_get_' . $type . '_question_template', 'quiz/questions/content-' . $type, $args['question'] );
		llms_get_template(
			$template . '.php',
			array(
				'question' => $args['question'],
				'attempt'  => $args['attempt'],
			)
		);

	}


Top ↑

User Contributed Notes User Contributed Notes

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