LLMS_Quiz_Attempt::get_title()
Retrieve a title-like string
Return Return
(string)
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 );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.26.3 | Unknown. |
| 3.16.0 | Introduced. |