Skip to content

Instantly share code, notes, and snippets.

Created November 3, 2017 15:46
Show Gist options
  • Save anonymous/fa53ed916b917d15fd05283212cf3c76 to your computer and use it in GitHub Desktop.
Save anonymous/fa53ed916b917d15fd05283212cf3c76 to your computer and use it in GitHub Desktop.
wooorder.php
<?php
if ( !defined( 'ABSPATH' ) ) {
exit;
}
/**
* @hooked WC_Emails::email_header() Output the email header
*/
do_action( 'woocommerce_email_header', $email_heading, $email ); ?>
<p><?php printf( __( 'Booking #%s has been created. It is now <strong>%s<strong>', 'yith-booking-for-woocommerce' ), $booking->id, $booking->get_status_text() ); ?></p>
<?php do_action( 'yith_wcbk_email_booking_details', $booking, $sent_to_admin, $plain_text, $phone ); ?>
<?php
/**
* @hooked WC_Emails::email_footer() Output the email footer
*/
do_action( 'woocommerce_email_footer', $email );
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment