WC New order created notification (1 post)

  1. wudza
    Posted 3 years ago #

    Hi everyone!
    Is it possible to modify the suggested code above from "toto" post for sending the notification to admin for ANY new order created by customer:
    right now it working only for ''real " goods and vitrual&downloadable goods in woocommerce . In my case I use only virtual goods

    // Woocommerce New Customer Admin Notification Email
    add_action('woocommerce_created_customer', 'admin_email_on_registration');
    function admin_email_on_registration() {
        $user_id = get_current_user_id();
        wp_new_user_notification( $user_id );

    Appreciated for any help!

    Original topic is here:


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic