| | |
| | | 'content' => [ |
| | | 'title' => get_bloginfo('name'), |
| | | 'subjectPrefix' => '['.get_bloginfo('name').']', |
| | | 'signature' => '<p>  — ♡ the edmonton.ink crew</p>', |
| | | 'signature' => '<p>  — ♡ the team at Legacy</p>', |
| | | 'footer' => [ |
| | | '<p>© ' . date('Y') . ' edmonton.ink — Your tattoo scene on your screen.</p>', |
| | | '<p><a href="' . get_home_url() . '" class="text-link">edmonton.ink</a></p>' |
| | | '<p>© ' . date('Y') . ' Legacy Tattoo Removal — See the Difference.</p>', |
| | | '<p><a href="' . get_home_url() . '">Legacy Tattoo Removal</a></p>' |
| | | ] |
| | | ], |
| | | 'types' => [ |
| | |
| | | ] |
| | | ]; |
| | | } |
| | | |
| | | add_filter('jvb_form_email_to', function() { |
| | | return 'info@legacytattooremoval.ca'; |
| | | }); |
| | | |
| | | |
| | | add_filter('jvb_form_email_subject', 'altr_form_email_subject', 10, 3); |
| | | function altr_form_email_subject(string $subject, $formType, $formData):string |
| | | { |
| | | $base = '[Legacy]'; |
| | | switch ($formType) { |
| | | case 'contact': |
| | | return $base.' Contact'; |
| | | case 'get_an_estimate': |
| | | return $base.' Estimate'; |
| | | case 'nlp': |
| | | return $base.' NLP Request'; |
| | | case 'partner': |
| | | return $base.' Partner Intro'; |
| | | } |
| | | return $subject; |
| | | } |
| | | /* |
| | | * EXTEND WITH: |
| | | * {string} $message: email content |
| | |
| | | <p>If you didn\'t create this account, just ignore this email and the link will expire.</p>', |
| | | $user->display_name, |
| | | $user->user_login, |
| | | jvbMailButton($reset_url, 'Set Your Password'), |
| | | jvbEmailLink($reset_url) |
| | | JVB()->email()->button($reset_url, 'Set Your Password'), |
| | | JVB()->email()->link($reset_url) |
| | | ); |
| | | } |
| | | return $message; |
| | |
| | | <div class="divider"></div> |
| | | <p>This password reset link is only valid for 24 hours.</p>', |
| | | $user_login, |
| | | jvbMailButton($resetUrl,'Reset Password'), |
| | | jvbEmailLink($resetUrl) |
| | | JVB()->email()->button($resetUrl,'Reset Password'), |
| | | JVB()->email()->link($resetUrl) |
| | | ); |
| | | } |
| | | |
| | |
| | | $newUser['first_name'], |
| | | $oldUser['user_email'], |
| | | $newUser['user_email'], |
| | | jvbMailButton(wp_login_url(), 'Log In To Your Account') |
| | | JVB()->email()->button(wp_login_url(), 'Log In To Your Account') |
| | | ); |
| | | } |
| | | |
| | |
| | | %s |
| | | <p>Or copy and paste this link into your browser:</p> |
| | | %s', |
| | | jvbMailButton($confirmURL, 'Confirm this Email'), |
| | | jvbEmailLink($confirmURL) |
| | | JVB()->email()->button($confirmURL, 'Confirm this Email'), |
| | | JVB()->email()->link($confirmURL) |
| | | ); |
| | | } |
| | | |
| | |
| | | <p>If you\'re not expecting this email, and did not change your password - please <strong>contact us immediately</strong></p> |
| | | <p>You can <a href="sms:+18259257398">text us</a>, or reply to this email.</p> |
| | | %s', |
| | | jvbMailButton(wp_login_url(), 'Log In to Your Account') |
| | | JVB()->email()->button(wp_login_url(), 'Log In to Your Account') |
| | | ); |
| | | } |
| | | |
| | |
| | | <p>Or copy and paste this link into your browser:</p> |
| | | %s', |
| | | $request_name, |
| | | jvbMailButton($confirmURL, 'Confirm'), |
| | | jvbEmailLink($confirmURL) |
| | | JVB()->email()->button($confirmURL, 'Confirm'), |
| | | JVB()->email()->link($confirmURL) |
| | | ); |
| | | } |
| | | |
| | |
| | | %s |
| | | <div class="divider"></div> |
| | | <p><strong>Important:</strong> For privacy and security, this link will expire at %s.</p>', |
| | | jvbMailButton($downloadURL, 'Download Your Data'), |
| | | jvbEmailLink($downloadURL), |
| | | JVB()->email()->button($downloadURL, 'Download Your Data'), |
| | | JVB()->email()->link($downloadURL), |
| | | $expiresAt |
| | | ); |
| | | } |