Plugin Directory

Changeset 2154139


Ignore:
Timestamp:
09/10/2019 11:50:52 AM (7 years ago)
Author:
wpwebsitecreator
Message:

Test Email function including first name last name and salutation

Location:
wp-website-creator/trunk/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-website-creator/trunk/includes/wpwc_save_themes_to_mapper_header.php

    r2149987 r2154139  
    286286#website_domain# -> https://example.com<br>
    287287#website_login_domain# -> https://example.com/wp-admin<br>
     288
     289#website_salutation# -> Mr.<br>
     290#website_first_name# -> John<br>
     291#website_last_name# -> Doe<br>
     292
    288293#website_username# -> WP Username<br>
    289294#website_password# -> WP Password<br>
  • wp-website-creator/trunk/includes/wpwc_testemail.php

    r2144627 r2154139  
    4747    $email_content = str_replace('#account_ftp_password#','FTP password', $email_content);
    4848
     49    $email_content = str_replace('#website_salutation#','Mr.', $email_content);
     50    $email_content = str_replace('#website_first_name#','John', $email_content);
     51    $email_content = str_replace('#website_last_name#','Doe', $email_content);
     52
     53
    4954    $email_content = str_replace('#support_videotutorials#','https://videotutorials.example.com', $email_content);
    5055    $email_content = str_replace('#support_paymentpage#','https://payment.example.com', $email_content);
Note: See TracChangeset for help on using the changeset viewer.