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:
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.
-
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 -
PDF Invoices & Packing Slips for WooCommerce300,000+ installs
do_action( 'woocommerce_after_resend_order_email', $order, $email_to_send )includes/Admin.php:1594 -
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 -
WCPOS5,000+ installs
do_action( 'woocommerce_after_resend_order_email', $order, 'customer_invoice' )includes/API/V1/Orders_Controller.php:656 -
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 -
Oliver POS700+ installs
do_action( 'woocommerce_after_resend_order_email', $order, 'customer_invoice' )includes/rest-api/class-email-rest.php:217 -
Kiwiz for WooCommerce60+ installs
do_action( 'woocommerce_after_resend_order_email', $this->_order, 'customer_invoice' )includes/document/class-kiwiz-document.php:267 -
StoreSuite20+ installs
do_action( 'woocommerce_after_resend_order_email', $order, 'customer_invoice' )includes/Order/OrderController.php:300 -
Miguel for WooCommerce10+ installs
do_action( 'woocommerce_after_resend_order_email', $order, 'new_order' )includes/class-miguel-order-create-api.php:1683 -
Vootouch10+ installs
do_action( 'woocommerce_after_resend_order_email', $order, $email_to_send )vootouchservice/save_order.php:479 -
Admin Powerups for WooCommerceFewer than 10 installs
do_action( 'woocommerce_after_resend_order_email', $order, $id )src/Support/WooEmails.php:192 -
CliedeskFewer than 10 installs
do_action( 'woocommerce_after_resend_order_email', $order, (string) $email->id )src/Modules/Commerce/Woo/ResendEmail.php:138 -
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 -
SarcioFewer than 10 installs
do_action( 'woocommerce_after_resend_order_email', $order, $type )src/Assistant/OrderAbilities.php:820 -
DeskoviFewer than 10 installs
do_action( 'woocommerce_after_resend_order_email', $order, 'customer_invoice' )includes/Orders/OrderActions.php:107 -
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 -
DeltaBreen HelpdeskFewer than 10 installs
do_action( 'woocommerce_after_resend_order_email', $order, 'customer_invoice' )includes/woocommerce-actions.php:150 -
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.