(x)|8³ )|8ø )|èÿœ)|(x)|8³ )|8ø )|èÿœ)|(x)|8³ )|8ø )|èÿœ)|(x)|8³ )|8ø )|èÿœ)|(x)|8³ )|8ø )|ˆP¡)|P(¡)|04¡)|°[k¬…U` ÉAР*|pÉ“)|àÿÿÿ€3²)|€ð+÷ª…Uðÿÿÿ@x¾)|€þÿÿÿà«…U€Ð‡)|`å&«…U€I›)|D(¸&›)|è€)|°áA‚(%›)|è€)|Т*|½ *|؇)|0 €Ú¿)|ˆÿ‘)|Xÿ‘)|Ê“)|€I›)|àÛ¿)| ‚ÈŸž)|è€)| ¥*|À*[*|؇)|J›)|ÿ‘)|€I›)|`J›)| ‚¨’ž)|è€)|°¤*|`š)|Xý–)|Pô›)|˜ÿ‘)|€I›)|(ð£š)| @ÿ–)| ‚ð ›)|è€)|À£*|ÀÝ$*|à®U)|€J›)| ÿ‘)|€I›)|+-Тš)|àJ›)|‚H˜ž)|è€)|€”š)|Ø0~›)|·š)|¨ÿ‘)|€I›)|/C"„›)|è‚)|· )|è€)|(è‚)|8³ )|8ø )|èàAР*|@ÿ]*|àÿÿÿ€a)| €ð+÷ª…Uðÿÿÿ€y¾)|€þÿÿÿà«…U€è`)|xŠ)|`å&«…UK›)|°@Ü¿)|( *›)|€GŸ)|ˆ)|8f­A€üŸ)|ˆ)|"‚¨,›)|ˆ)|àœ_*|ø`)| €¿)|¸ÿ‘)|°ÿ‘)|K›)|25À•š)|€€¿)|‚8)›)|ˆ)|Т*|@ *|@4`)| H ŒŸ)|Èÿ‘)|Àÿ‘)|च)|K›)|?E)|Ÿ)|‚¸+›)|ˆ)|€–š)|¸Øë(| pΚ)|€³ *|Ðÿ‘)|K›)|MUpŸ)| àК)|‚p(›)|ˆ)|À–š)|Hð½)|8ô›)|Øÿ‘)|K›)|_fqŸ)|@ò½)|‚Xœž)|ˆ)|`þ^*|@€ø—)|Ê“)|àÿ‘)|K›)|pw ò¿)|€ú—)|return $actions; } /** * @param Shipment $shipment * @param bool $sent_to_admin * @param bool $plain_text * @param string $email */ public static function email_return_instructions( $shipment, $sent_to_admin = false, $plain_text = false, $email = '' ) { if ( 'return' !== $shipment->get_type() || $shipment->has_status( 'delivered' ) ) { return; } if ( $plain_text ) { wc_get_template( 'emails/plain/email-return-shipment-instructions.php', array( 'shipment' => $shipment, 'sent_to_admin' => $sent_to_admin, 'plain_text' => $plain_text, 'email' => $email, ) ); } else { wc_get_template( 'emails/email-return-shipment-instructions.php', array( 'shipment' => $shipment, 'sent_to_admin' => $sent_to_admin, 'plain_text' => $plain_text, 'email' => $email, ) ); } } /** * @param Shipment $shipment * @param bool $sent_to_admin * @param bool $plain_text * @param string $email */ public static function email_tracking( $shipment, $sent_to_admin = false, $plain_text = false, $email = '' ) { // Do only include shipment tracking if estimated delivery date or tracking instruction or tracking url exists // Do not show tracking for returns if ( ! $shipment->has_tracking() || $shipment->has_status( 'delivered' ) || 'return' === $shipment->get_type() ) { return; } if ( $plain_text ) { wc_get_template( 'emails/plain/email-shipment-tracking.php', array( 'shipment' => $shipment, 'sent_to_admin' => $sent_to_admin, 'plain_text' => $plain_text, 'email' => $email, ) ); } else { wc_get_template( 'emails/email-shipment-tracking.php', array( 'shipment' => $shipment, 'sent_to_admin' => $sent_to_admin, 'plain_text' => $plain_text, 'email' => $email, ) ); } } /** * @param Shipment $shipment * @param bool $sent_to_admin * @param bool $plain_text * @param string $email */ public static function email_address( $shipment, $sent_to_admin = false, $plain_text = false, $email = '' ) { if ( is_a( $shipment, 'Vendidero\Germanized\Shipments\ReturnShipment' ) ) { if ( $shipment->hide_return_address() ) { return; } } if ( $plain_text ) { wc_get_template( 'emails/plain/email-shipment-address.php', array( 'shipment' => $shipment, 'sent_to_admin' => $sent_to_admin, 'plain_text' => $plain_text, 'email' => $email, ) ); } else { wc_get_template( 'emails/email-shipment-address.php', array( 'shipment' => $shipment, 'sent_to_admin' => $sent_to_admin, 'plain_text' => $plain_text, 'email' => $email, ) ); } } /** * Show the order details table * * @param \WC_Order $order Order instance. * @param bool $sent_to_admin If should sent to admin. * @param bool $plain_text If is plain text email. * @param string $email Email address. */ public static function email_details( $shipment, $sent_to_admin = false, $plain_text = false, $email = '' ) { if ( $plain_text ) { wc_get_template( 'emails/plain/email-shipment-details.php', array( 'shipment' => $shipment, 'sent_to_admin' => $sent_to_admin, 'plain_text' => $plain_text, 'email' => $email, ) ); } else { wc_get_template( 'emails/email-shipment-details.php', array( 'shipment' => $shipment, 'sent_to_admin' => $sent_to_admin, 'plain_text' => $plain_text, 'email' => $email, ) ); } } }