WordPress action hook

woocommerce_after_resend_order_email

Defined by WooCommerce and fired by 18 plugins in total, running on 7.4M+ sites between them.

“Fires after an order email has been resent.”

How to use woocommerce_after_resend_order_email

It's an action: your callback runs at that point and receives 2 arguments. Nothing needs to be returned. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_action( 'woocommerce_after_resend_order_email', function( $order, $arg2 ) {
	// Your code runs here.
}, 10, 2 );

Argument names come from WooCommerce's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

18 plugins that fire woocommerce_after_resend_order_email

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. WooCommerce icon WooCommerce7+ million installs do_action( 'woocommerce_after_resend_order_email', $order, 'customer_invoice' ) includes/admin/meta-boxes/class-wc-meta-box-order-actions.php:156
  2. PDF Invoices & Packing Slips for WooCommerce icon PDF Invoices & Packing Slips for WooCommerce300,000+ installs do_action( 'woocommerce_after_resend_order_email', $order, $email_to_send ) includes/Admin.php:1594
  3. Germanized for WooCommerce icon Germanized for WooCommerce70,000+ installs do_action( 'woocommerce_after_resend_order_email', $order, 'customer_paid_for_order' ) includes/admin/class-wc-gzd-admin.php:679
  4. WCPOS icon WCPOS5,000+ installs do_action( 'woocommerce_after_resend_order_email', $order, 'customer_invoice' ) includes/API/V1/Orders_Controller.php:656
  5. Phone Orders for WooCommerce icon Phone Orders for WooCommerce1,000+ installs do_action( 'woocommerce_after_resend_order_email', $order, 'customer_invoice' ) classes/tabs/class-wc-phone-orders-add-order-page.php:1866
  6. Oliver POS icon Oliver POS700+ installs do_action( 'woocommerce_after_resend_order_email', $order, 'customer_invoice' ) includes/rest-api/class-email-rest.php:217
  7. Kiwiz for WooCommerce icon Kiwiz for WooCommerce60+ installs do_action( 'woocommerce_after_resend_order_email', $this->_order, 'customer_invoice' ) includes/document/class-kiwiz-document.php:267
  8. StoreSuite icon StoreSuite20+ installs do_action( 'woocommerce_after_resend_order_email', $order, 'customer_invoice' ) includes/Order/OrderController.php:300
  9. Miguel for WooCommerce icon Miguel for WooCommerce10+ installs do_action( 'woocommerce_after_resend_order_email', $order, 'new_order' ) includes/class-miguel-order-create-api.php:1683
  10. Vootouch icon Vootouch10+ installs do_action( 'woocommerce_after_resend_order_email', $order, $email_to_send ) vootouchservice/save_order.php:479
  11. Admin Powerups for WooCommerce icon Admin Powerups for WooCommerceFewer than 10 installs do_action( 'woocommerce_after_resend_order_email', $order, $id ) src/Support/WooEmails.php:192
  12. Cliedesk icon CliedeskFewer than 10 installs do_action( 'woocommerce_after_resend_order_email', $order, (string) $email->id ) src/Modules/Commerce/Woo/ResendEmail.php:138
  13. Invoice management for Woocommerce icon Invoice management for WoocommerceFewer than 10 installs do_action( 'woocommerce_after_resend_order_email', $order, 'customer_invoice' ) admin/meta-boxes/class-wc-meta-box-order-actions.php:110
  14. Sarcio icon SarcioFewer than 10 installs do_action( 'woocommerce_after_resend_order_email', $order, $type ) src/Assistant/OrderAbilities.php:820
  15. Deskovi icon DeskoviFewer than 10 installs do_action( 'woocommerce_after_resend_order_email', $order, 'customer_invoice' ) includes/Orders/OrderActions.php:107
  16. Business Bloomer Advanced Manual Orders for WooCommerce icon Business Bloomer Advanced Manual Orders for WooCommerceFewer than 10 installs do_action( 'woocommerce_after_resend_order_email', $order, 'customer_invoice' ) includes/amowc-payment.php:121
  17. DeltaBreen Helpdesk icon DeltaBreen HelpdeskFewer than 10 installs do_action( 'woocommerce_after_resend_order_email', $order, 'customer_invoice' ) includes/woocommerce-actions.php:150
  18. Dispatchable Order Verification for WooCommerce icon Dispatchable Order Verification for WooCommerceFewer than 10 installs do_action( 'woocommerce_after_resend_order_email', $order, 'customer_invoice' ) src/Queue/QueueActions.php:176

Need a customisation built on this hook?

Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.