LLMS_Notification_View_Course_Complete::set_body()
Setup body content for output
Contents
Return Return
(string)
Source Source
File: includes/notifications/views/class.llms.notification.view.course.complete.php
protected function set_body() {
if ( 'email' === $this->notification->get( 'type' ) ) {
return sprintf( __( 'Congratulations! %1$s completed %2$s', 'lifterlms' ), '{{STUDENT_NAME}}', '{{COURSE_TITLE}}' );
}
return sprintf( __( 'Congratulations! You finished %s', 'lifterlms' ), '{{COURSE_TITLE}}' );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.8.0 | Introduced. |