• Resolved wrmark

    (@wrmark)


    How can I change the email subject and message being sent by Dynamic Time plugin?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author rerm

    (@rermis)

    Hi Mark,

    Thank you for asking. Currently the email subject and message cannot be edited. I will try to squeeze this within the next release so that the email subject and message can be updated with your own function.

    Thread Starter wrmark

    (@wrmark)

    That would be GREAT! Thanks for the quick response! Love the plugin!

    Hello ,

    How can i get someone to help implement this plugin on our WordPress website

    Thanks

    Francis Erikefe

    Hello ,

    How can i get someone to help implement this plugin on our WordPress website

    Thanks

    Francis Erikefe

    Plugin Author rerm

    (@rermis)

    Hi Francis,

    Yes of course. Please install the plugin if you have not already. If you need assistance, look in the upper right corner of the Dynamic Time plugin page for “Support & Diagnostics” options. You will be able to find assistance there.

    Plugin Author rerm

    (@rermis)

    Hi Mark,

    An update has been released in v3.6.14 that will allow you to change the subject and content in emails created by Dynamic Time.

    Define the following functions in your theme’s functions.php file. Edit the return statement as you wish. If these functions are not found, the default subject and content will be used.

    
    function dyt_custom_mail_subject($user_name) {
      return $user_name." - Pay Period Submission";
    }
    
    function dyt_custom_mail_content($recipient_name,$user_name,$url) {
      return "Dear $recipient_name<br><br>&nbsp;Please find a new pay period submission for $user_name at <a href='$url' target='_blank'>$url</a><br><br>- Dynamic Time.";
    }
    
    Thread Starter wrmark

    (@wrmark)

    AWESOME! Tried it out, worked perfect! Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Change Email subject and message’ is closed to new replies.