You can change the string inside the birthday-emails.php
located in /wp-content/plugins/birthday-emails
This is the part of the code you need to find and check:
/***************************************************************************************
* This function sends a Notification email about the birthday wishes just sent if the option is selected in the admin options page.
***************************************************************************************/
if ( ! function_exists( 'cjl_bdemail_sendNotification' ) ) {
function cjl_bdemail_sendNotification($displayName)
{
$options = get_option('cjl_bdemail_settings');
$fromName = $options['cjl_bdemail_text_field_From_Name'];
$fromEmail = $options['cjl_bdemail_text_field_From_Email'];
$headers = [];
if ($fromEmail) $headers[] = "From: " . 'WebMaster @ ' . get_bloginfo('name') . " <$fromEmail>";
if ($fromEmail) $headers[] = "Reply-to: $fromEmail";
$headers[] = 'Content-type: text/plain; charset=utf-8';
$headers = implode("\r\n", $headers);
$checked = '';
if (array_key_exists('cjl_bdemail_checkbox_Notify_YesNo', $options)) {
if ($options['cjl_bdemail_checkbox_Notify_YesNo']) {
$checked = isset($options['cjl_bdemail_text_field_Notification_Email']) ? esc_attr($options['cjl_bdemail_text_field_Notification_Email']) : '';
}
}
if ($checked) {
wp_mail($checked, __('Notification of Birthday Email Sent', 'birthday-emails'), __('A birthday email was sent to ','birthday-emails') . $displayName . '.', $headers);
}
}
}
To be specifical, change 'Notification of Birthday Email Sent'
and 'A birthday email was sent to '
to whatever text you want to display.
I will also like to have a custom page in the settings to change the behaviour and the look of the notifications.
Also, multiple email can be added for notification, you need to use the comma for each email in the “Email Address for Notification” field
-
This reply was modified 4 years, 6 months ago by Aliendex.