make html email links dynamic
This commit is contained in:
@@ -87,6 +87,17 @@ function _booking_ucname($string) {
|
||||
return $string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper function to generate associative array of 3 email links supported by html email template
|
||||
*/
|
||||
function _booking_html_emails_links() {
|
||||
return array(
|
||||
'The Week' => 'https://www.studyweek.net/the-week/whats-happening',
|
||||
'Resources' => 'https://www.studyweek.net/studynotes',
|
||||
'Who\'s Coming' => 'https://www.studyweek.net/coming',
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Helper function to perform some validity checking of email addresses
|
||||
|
Reference in New Issue
Block a user