woocommerce_after_resend_order_email
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
woocommerce_after_resend_order_email
woocommerce_after_resend_order_email
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' );