WooCommerce – Email admin with new user details

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…

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)