LLMS_Abstract_Notification_View::get_merge_code_defaults()
Get default merge codes available to all notifications of a given type
Return Return
(array)
Source Source
File: includes/abstracts/llms.abstract.notification.view.php
protected function get_merge_code_defaults() {
switch ( $this->notification->get( 'type' ) ) {
case 'email':
$codes = array(
'{{DIVIDER}}' => __( 'Divider Line', 'lifterlms' ),
);
break;
default:
$codes = array();
}
return $codes;
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.11.0 | Introduced. |