Skip to content

Instantly share code, notes, and snippets.

@cliffordp
Last active April 3, 2018 01:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cliffordp/46ffc5eb2fdfd7a76114ba72fba5b358 to your computer and use it in GitHub Desktop.
Save cliffordp/46ffc5eb2fdfd7a76114ba72fba5b358 to your computer and use it in GitHub Desktop.
Event Tickets Plus: Add extra line breaks to the end of the WooCommerce order email message.
<?php
/**
* Event Tickets Plus: Add extra line breaks to the end of the WooCommerce order email message.
*
* @link https://gist.github.com/cliffordp/46ffc5eb2fdfd7a76114ba72fba5b358
* @link https://theeventscalendar.com/support/forums/topic/ticket-email-subject/
*
* @see Tribe__Tickets_Plus__Commerce__WooCommerce__Main::add_tickets_msg_to_email()
*/
add_filter( 'wootickets_email_message', function ( $message ) {
$message .= '<br><br>';
return $message;
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment