Current File : /home/n742ef5/royalanteam.com/wp-content/plugins/myhome-core/config/notifications.php |
<?php
use Tangibledesign\Framework\Core\Notification;
add_filter('myhome/notifications', static function () {
return [
[
'key' => Notification::MAIL_CONFIRMATION,
'label' => esc_html__('Confirmation Email', 'myhome-core'),
'description' => esc_html__('Require new users to verify account via email.', 'myhome-core'),
'title' => esc_html__('Confirm your e-mail', 'myhome-core'),
'message' => esc_html__('Hello {userDisplayName},
Thank you for registration! Please confirm your email by clicking this link: {confirmationLink}
Best wishes,
CEO', 'myhome-core'),
'vars' => ['userDisplayName'],
'optional' => false,
'enabled' => true,
],
[
'key' => Notification::RESET_PASSWORD,
'label' => esc_html__('Reset Password', 'myhome-core'),
'description' => esc_html__('Email that your users will receive if they use Forgotten password function',
'myhome-core'),
'title' => esc_html__('Reset your password', 'myhome-core'),
'message' => esc_html__('Hello {userDisplayName},
You can reset your password here: {resetPasswordLink}
Best wishes,
CEO', 'myhome-core'),
'vars' => ['userDisplayName'],
'optional' => false,
'enabled' => true,
],
[
'key' => Notification::CHANGE_EMAIL,
'label' => esc_html__('Change E-Mail', 'myhome-core'),
'description' => esc_html__('Email that your users will receive when they change email', 'myhome-core'),
'title' => esc_html__('Change Your E-Mail', 'myhome-core'),
'message' => esc_html__('Hello {userDisplayName},
PIN: {changeEmailToken}
Best wishes,
CEO', 'myhome-core'),
'vars' => ['changeEmailToken', 'userDisplayName'],
'optional' => false,
'enabled' => true,
],
];
});