LLMS_Notification_View_Certificate_Earned::set_merge_codes()
Setup merge codes that can be used with the notification.
Return Return
(array)
Source Source
File: includes/notifications/views/class.llms.notification.view.certificate.earned.php
protected function set_merge_codes() {
return array(
'{{CERTIFICATE_CONTENT}}' => __( 'Certificate Content', 'lifterlms' ),
'{{CERTIFICATE_TITLE}}' => __( 'Certificate Title', 'lifterlms' ),
'{{CERTIFICATE_URL}}' => __( 'Certificate URL', 'lifterlms' ),
'{{STUDENT_NAME}}' => __( 'Student Name', 'lifterlms' ),
'{{MINI_CERTIFICATE}}' => __( 'Mini Certificate', 'lifterlms' ),
);
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.8.0 | Introduced. |