woocommerce_after_resend_order_email

woocommerce_after_resend_order_email

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

do_action('woocommerce_after_resend_order_email') is found 2 times:

  • /includes/admin/meta-boxes/class-wc-meta-box-order-actions.php line 144
     
    				// Note the event.
    				$order->add_order_note( __( 'Order details manually sent to customer.', 'woocommerce' ), false, true );
    
    				do_action( 'woocommerce_after_resend_order_email', $order, 'customer_invoice' );
    
    				// Change the post saved message.
    				add_filter( 'redirect_post_location', array( __CLASS__, 'set_email_sent_message' ) );
    
    			} elseif ( 'send_order_details_admin' === $action ) {
    
    
  • /includes/admin/meta-boxes/class-wc-meta-box-order-actions.php line 159
    				add_filter( 'woocommerce_new_order_email_allows_resend', '__return_true' );
    				WC()->mailer()->emails['WC_Email_New_Order']->trigger( $order->get_id(), $order, true );
    				remove_filter( 'woocommerce_new_order_email_allows_resend', '__return_true' );
    
    				do_action( 'woocommerce_after_resend_order_email', $order, 'new_order' );
    
    				// Change the post saved message.
    				add_filter( 'redirect_post_location', array( __CLASS__, 'set_email_sent_message' ) );
    
    			} elseif ( 'regenerate_download_permissions' === $action ) {