woocommerce_after_resend_order_email action-hookWC 11.0.0

Fires after the abandoned cart recovery email has been manually resent.

Usage

add_action( 'woocommerce_after_resend_order_email', 'wp_kama_woocommerce_after_resend_order_email_action', 10, 2 );

/**
 * Function for `woocommerce_after_resend_order_email` action-hook.
 * 
 * @param WC_Order $order      Order being recovered.
 * @param string   $email_type Email identifier ('customer_abandoned_cart_recovery').
 *
 * @return void
 */
function wp_kama_woocommerce_after_resend_order_email_action( $order, $email_type ){

	// action...
}
$order(WC_Order)
Order being recovered.
$email_type(string)
Email identifier ('customer_abandoned_cart_recovery').

Changelog

Since 11.0.0 Introduced.

Where the hook is called

WC_Email_Customer_Abandoned_Cart_Recovery::handle_recovery_email_send()
woocommerce_after_resend_order_email
OrderActionsRestController::send_order_details()
woocommerce_after_resend_order_email
WC_Meta_Box_Order_Actions::save()
woocommerce_after_resend_order_email
woocommerce/includes/emails/class-wc-email-customer-abandoned-cart-recovery.php 382
do_action( 'woocommerce_after_resend_order_email', $order, $this->id );
woocommerce/src/Internal/Orders/OrderActionsRestController.php 694
do_action( 'woocommerce_after_resend_order_email', $order, 'customer_invoice' );
woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-actions.php 156
do_action( 'woocommerce_after_resend_order_email', $order, 'customer_invoice' );
woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-actions.php 171
do_action( 'woocommerce_after_resend_order_email', $order, 'new_order' );

Where the hook is used in WooCommerce

Usage not found.