Yes, the action needs to specify two parameters.
add_action('new_customer_registered', 'new_customer_registered_send_email_admin', 10, 2);
Apart from that I can’t see any other issues…
Related Posts:
- Woocommerce HTML email option unavailable
- Trigger Woocommerce New User Email
- Setting up 2 SMTP accounts: 1 for wordpress and 1 for woocommerce
- Set a condition based on WooCommerce checkout city field while placing order
- Woocommerce Email attachments not working – file not being attached
- Woocommerce display orders with products from specific categories to specific admins
- I want to fusion the product columns in email table order
- Woocommerce checkout page – custom field checkbox value into email
- Woocommerce custom field on emails outputs ‘Array’
- Why does WordPress not send the user the email to add a password?
- How to trigger WooCommerce order complete email?
- Any guides on creating custom admin pages?
- How to automatically apply woocommerce product title to all product images alt tags?
- Remove Customize Background and Header from Appearance admin menu without CSS or JS
- WooCommerce – Customer Order History Pagination
- Replace existing content from specific WooCommerce admin orders list column
- Add a Custom Class to Admin Menus
- Woocommerce – How to get products which have a sale between 20% to 40%? [closed]
- Display related products with custom output
- Woocommerce filter cart and category specific quantity [closed]
- How to get woocommerce cart content without an action?
- WooCommerce: Add Payment Gateway Field to Webhooks [closed]
- Woocommerce product download URL
- Attaching a pdf to Contact Form 7 e-mail via functions.php [closed]
- Limiting woocommerce line_total decimal length
- How can I use wp_query to show all product data using just the products ID?
- Get stock by custom meta field on all Woocommerce variable products
- Selectbox in admin panel function linking to CSS
- Automated Cart Update With Alert Box Each Time
- How do you ensure that a user is recognised and available for use only when it is verified through a row in the database called ‘accountVerified’?
- Issue adding sub category programmatically
- Sort custom meta column by other meta value
- Auto-update products after they were published – Woocommerce
- How to VAR_DUMP a $variable during checkout process (Is my product meta callable?)
- Reload part of checkout on changed shipping method
- Woocommerce related product text
- Which field should I edit to make the checkbox marked by default?
- wordpress + woocommerce display product with additional information [closed]
- Function works when I don’t login to WordPress but when I login then it doesn’t work
- Send multiple attachments with wp_mail in PHP
- Programmatically create page when saving custom post type post
- How to remove woocommerce_breadcrumb() from do_action( ‘woocommerce_before_main_content’ ); [closed]
- Add post with approval by the admin
- Woocommerce display one random product via php
- Change product_base programmatically
- How to optimize update_post_meta?
- Add product to cart for user – WC()->cart->add_to_cart [closed]
- customize woocommerce templates and display store on home
- WC_Customer delete function returns error
- Display attribute on shop page after the title
- CSS change in woo commerce Place Order Text [closed]
- Exclude product attributes from taxonomy terms loop
- WP All Import / Update stock quantity from multiple XML files
- Woocommerce: remove total sum from new order’s email [closed]
- WordPress WP_Query without query GET parameters
- Where to copy woocommerce files to in my custom theme to avoid editing the core plugin?
- Alter Woocommerce product archive structure
- custom post type with role Vendor
- WooCommerce: Display product categories to make IF statement
- Removing custom sort order from admin page listing
- I installed WordPress locally now how do I login?
- Modify WooCommerce used to get all orders in dashboard
- Replace category title with category description in woocommerce
- Add Custom Category Description When Empty
- I am having issue in divi woocomerce checkout module. (DIVI theme)
- Add a product category to a specific product via a button
- WooCommerce Query Product Titles
- Display div if category has a specific parent
- global $product is empty string when passed into function
- Variant Item SKU as Product Code
- Run a sql (update) after 12 hours after the user login. Woocommerce users
- Use PHP Class in WordPress functions
- Add a new view on the Woocommerce account page
- Use Search Term in html link and redirect
- Don’t update modified post date when user add a product review or comment?
- How do I change the “login” label in My Account page to “Registered Customer”
- Customize the “Available for back order” text for specific variation
- How to remove the replace the product image by video on shop page conditionally
- get_filtered_term_product_counts – Get product terms if any products
- How to import woocommerce custom fields data into another site?
- How to add custom attribute to all outofstock and all instock products automatically?
- Site infected by link
- Need to forward Data from WooCommerce Webhook sent to same site WordPress REST API custom endpoint
- Add Product Permalink in woocommerce admin order page
- sessionStorage saves input value in browser but it is not loaded in the form field
- Send email to users when they get new followers
- WooCommerce – Add Shipping class below each product in Shopping Cart page
- WooCommerce Custom Tab with ACF Repeater Field
- Display product attributes for current product
- How to remove image on single product and get product to span page?
- Trying send mail from Theme page
- Shortcodes (with a space) added to php Sample
- Adding placeholder text field to woocommerce checkout [closed]
- Getting custom field data from cart page to checkout page in woocomerce [closed]
- Send a custom notification to customer on WooCommerce cancelled order status
- How to code bulk order form in wordpress
- WCFM Custom form
- Hide child of parent categories already hidden with “get_terms_args” – Woocommerce
- Find owner of coupon
- Removing the add to cart button from specific product pages