• Resolved larsnobel

    (@larsnobel)


    Hey.

    I’m looking inside your code and trying to decode how i can change the email subject. At the moment is it stuck on “WordPress” and i would very much like to change that to make it look more professional.

    I’m familare with code if you can say in which file and on what line i can change the email subject

    But feedback:
    Would be nice to have email subject in the settings of the plugin

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter larsnobel

    (@larsnobel)

    Adding the following to “functions.php” in the themecode fixed it

    function wpb_sender_name( $original_email_from ) {
    return ‘Hjallerup Marked’;
    }

    add_filter( ‘wp_mail_from_name’, ‘wpb_sender_name’ );`

    Plugin Author thesiim

    (@thesiim)

    Which email would you like to change the subject?

    Thread Starter larsnobel

    (@larsnobel)

    Not sure if it’s called “subject” or “sender” but here another imgur image showing what i mean from my gmail account.

    View post on imgur.com

    I changed mine to “Hjallerup Marked” now by putting the code i send earlier into the functions.php code but it’s “wordpress” by default.

    Fixing it was actually rather easy, but would be even more easy if it was in the settings to the SeatReg plugin ??

    Best regards

    Plugin Author thesiim

    (@thesiim)

    Are you using some sort of mail SMTP plugin? Like https://www.ads-software.com/plugins/wp-mail-smtp/ . It allows you to configure it.

    Plugin Author thesiim

    (@thesiim)

    Will mark as resolved

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Feedback: Email subject’ is closed to new replies.