LLMS_Notification_View_Quiz_Graded::set_body()
Setup body content for output
Return Return
(string)
Source Source
File: includes/notifications/views/class.llms.notification.view.quiz.graded.php
protected function set_body() {
if ( 'email' === $this->notification->get( 'type' ) ) {
return $this->set_body_email();
}
// Translators: %s = Quiz attempt grade.
$content = sprintf( __( 'You received a %1$s', 'lifterlms' ), '{{GRADE}}' );
return $content;
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.24.0 | Introduced. |