LLMS_Notification_View_Achievement_Earned::set_merge_codes()
Setup merge codes that can be used with the notification
Contents
Return Return
(array)
Source Source
File: includes/notifications/views/class.llms.notification.view.achievement.earned.php
protected function set_merge_codes() {
return array(
'{{ACHIEVEMENT_CONTENT}}' => __( 'Achievement Content', 'lifterlms' ),
'{{ACHIEVEMENT_IMAGE}}' => __( 'Achievement Image', 'lifterlms' ),
'{{ACHIEVEMENT_IMAGE_URL}}' => __( 'Achievement Image URL', 'lifterlms' ),
'{{ACHIEVEMENT_TITLE}}' => __( 'Achievement Title', 'lifterlms' ),
'{{STUDENT_NAME}}' => __( 'Student Name', 'lifterlms' ),
);
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.8.0 | |
| 3.30.3 | Introduced. |