What do you want to save?
Add Code snippet
New code examples
-
PHP 2022-01-25 13:47:01
woocommerce order functions
// Get Order ID and Key $order->get_id(); $order->get_order_key(); // Get Order Totals $0.00 $order->get_formatted_order_total(); $order->get_cart_tax(); $order->get_currency(); $order->get_discount_tax(); $order->get_discount_... Add solution -
PHP 2021-11-02 11:33:16
woocommerce get order info
// Get $order object when you have the ID. $order = wc_get_order( $order_id ); // Get order key. $order->get_order_key(); // Get Order Totals $0.00 $order->get_formatted_order_total(); $order->get_cart_tax(); $order->get_currency(); $order-&... Add solution -
PHP 2021-10-17 10:32:03
get order details by id woocommerce
// Get $order object when you have the ID. $order = wc_get_order( $order_id ); // Get order key. $order->get_order_key(); // Get Order Totals $0.00 $order->get_formatted_order_total(); $order->get_cart_tax(); $order->get_currency(); $order-&... Add solution -
Other 2021-09-29 18:50:07
wordpress send email WC_Email
$wc_emails = WC_Emails::instance(); $emails = $wc_emails->get_emails(); if ( isset( $emails['WC_Email_Customer_Processing_Order'] ) && is_object( $emails['WC_Email_Customer_Processing_Order] ) ) { $email = $emails['WC_Email_Customer_Processi... Add solution -
TypeScript 2021-09-22 07:31:02
ionic 4 unit testing example for modalcontroller
it('should display the Add photo modal when the button is clicked and logged in', () => { let pub = { phone: '123123' } component.pub = pub; let authService = fixture.debugElement.injector.get(AuthService); authService.lo... Add solution