LLMS_Notification_View_Quiz_Failed::set_body()
Setup body content for output
Contents
Return Return
(string)
Source Source
File: includes/notifications/views/class.llms.notification.view.quiz.failed.php
protected function set_body() { if ( 'email' === $this->notification->get( 'type' ) ) { return $this->set_body_email(); } $content = sprintf( __( 'You failed %s!', 'lifterlms' ), '{{QUIZ_TITLE}}' ); $content .= "\r\n\r\n{{GRADE_BAR}}"; return $content; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.8.0 | Introduced. |