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?
- Woocommerce hook run after an Order been created through REST API
- How can I apply_filters from inside a function?
- Get and insert order email address to the PHP template inside HTML text
- Modify HTML structure of fields in woocommerce checkout form
- Pass Category Name, Description and Photo into variables to pass to jQuery
- 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
- How to get all shipping rates and costs without session in woocommerce?
- Display a specific category of products in shop page and disable code for specific actions
- If no products are on sale – hide ID or class
- Woocommerce related product text
- Woocommerce api: create product with images – bad request
- Trying to build simple deposit code that hooks into woocommerce
- WooCommerce Webhooks not firing because of error in wp-includes/meta.php
- Different Minimum Order Amounts based on Shipping Zone [closed]
- do search in two site and show the result in first site
- Woocommerce: hook action/filter I could use to add variation id and price with each attribute opt on WooCommerce Rest api
- Add a product to checkout via form
- Trying to place a custom field after the total section in the checkout page in woocommerce
- WordPress default Search function inconsistent in WooCommerce Product Titles
- Which field should I edit to make the checkbox marked by default?
- Displaying Woocommerce Product Category in WordPress
- Is it possible to intercept all ajax requests and get the parameters and the returns?
- WooCommerce: How can I get orders with a custom ID in order meta data object?
- wordpress + woocommerce display product with additional information [closed]
- how to fix error “called incorrectly, should not be accessed directly”?
- Function works when I don’t login to WordPress but when I login then it doesn’t work
- How to auto fetch customer details in Woocommerce in checkout page
- Displaying custom taxonomy on WooCommerce product page
- Sum the total amount of a specific product purchased per user and display in table
- Send multiple attachments with wp_mail in PHP
- Change “add to cart” button color based on Woocommerce product category [closed]
- How can I get the values of my WordPress $wpdb query in Jquery?
- How can I pass a custom/dynamic product to the Woocommerce cart?
- Add to cart function not working for first product when cart is empty [closed]
- I want to add custom add to cart link [closed]
- How to make products with no cost in WooCommerce
- Woocommerce : Can’t get product info in loop
- WooCommerce custom product dimensions
- running wp-cron.php using php not wget
- Trouble checking if custom woocommerce checkout field is empty or not
- Incorrect amount of posts returned when filtering related Woo products by custom taxonomy
- How to retrieve the sender email with wp_mail()?
- Validation algorithm in checkout field
- Programmatically create page when saving custom post type post
- How do I remove the product thumbnail link from a specific div in Woocommerce? [closed]
- My new button is in the wrong place
- WordPress Woocommerce – Product Type [closed]
- Auto 301 to full post permalink? (using : /archive/%post_id% to %post_name% )
- Pagination for custom shop loop woocommerce
- Building a WordPress App
- How to add specific meta tags to head of cart and checkout pages in woocommerce?
- How to remove woocommerce_breadcrumb() from do_action( ‘woocommerce_before_main_content’ ); [closed]
- Woocommerce change prices for a certain country [closed]
- How to get private property in parent class into extended class?
- How can I open up my administrative panel to everyone?
- Can I get an email notification when media is uploaded to the media library?
- echo something inside a shortcode
- Replace Woocommerce “add to cart” to be “Download” button [closed]
- Is there a way to hook or call a custom woocomerce template that is not part of the default templates of woocommerce?
- get taxonomy thumbnail and use it as a variable in code
- Function returns text instead of html [closed]
- Extend Woocommerce Widget Class – WC_Widget_Product_Categories
- Single Quotes in .php file doesn’t load website
- Add post with approval by the admin
- get_total () returns 0 – woocommerce [closed]
- How to remove coupon dropdown feature
- Woocommerce display one random product via php
- retain querystring values when savincustom options in admin
- Get categories names as an array to use it in theme settings
- Get Page ID from Backend
- Change product_base programmatically
- Add html link in functions.php files of the theme
- require_once() if a product in woocommerce contains a tag [closed]
- How to optimize update_post_meta?
- How to upload WP user avatar on woocommerce account page [closed]
- Add product to cart for user – WC()->cart->add_to_cart [closed]
- Remove item in Checkout
- email alert for product availability
- How to relocate paypal button gateway on checkout page in woocommerce
- How to rename woocommerce-billing-fields
- Can a plugin redirect product page based on IF condition?
- Seo Friendly Filter URLs
- How to display SQL query that ran in WC_Order_Query?
- WooCommerce pages looks unstyled
- customize woocommerce templates and display store on home
- How to disable delivery on certain date at checkout page in WooCommerce?
- WC_Customer delete function returns error
- Only show size attributes in product box woocommerce when available