[CoursePress Pro] Tweak to Email templates

The emails all go out saying Best wishes, The website_address Team, which looks strange. Can I default it on all sites to The Blog_name Team?

  • Ash
    • WordPress Hacker

    Hello Techtomic

    Would you please go to /wp-content/plugins/coursepress/2.0/include/coursepress/helper/class-email.php line no 633 and replace

    'WEBSITE_ADDRESS'               => home_url()


    'WEBSITE_ADDRESS'               => get_bloginfo( 'name' )

    Please let me know if it works. If it does for you, then I will make a request to the developer to add a hook.

    Have a nice day!


  • Techtomic
    • Techie

    Hi Ash,

    It wasn't so much that the tags were wrong, just that the default email templates used WEBSITE_ADDRESS instead of BLOG_NAME in their sign off. I'd like the global default across a multisite to say something like "Best wishes, the Acme Learning Team" instead of "Best wishes, the https://acme.xyzcoursesdomain.my.tld/ Team" and I'm sure it'd be a better default for CoursePress Pro.

    Still need WEBSITE_ADDRESS as-is, so there can be links in the emails.


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.