Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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