Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save amite/9b576dd697ba0f6ba35823bd63d55973 to your computer and use it in GitHub Desktop.
Save amite/9b576dd697ba0f6ba35823bd63d55973 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