LLMS_Quiz_Attempt::get_title()

Retrieve a title-like string


Return Return

(string)


Top ↑

Source Source

File: includes/models/model.llms.quiz.attempt.php

	public function get_title() {
		$student = $this->get_student();
		$name    = $student ? $this->get_student()->get_name() : apply_filters( 'llms_quiz_attempt_deleted_student_name', __( '[Deleted]', 'lifterlms' ) );
		return sprintf( __( 'Quiz Attempt #%1$d by %2$s', 'lifterlms' ), $this->get( 'attempt' ), $name );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.26.3 Unknown.
3.16.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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