Notify Admin When New Account Is Created

Add this code to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the Code snippets plugin. Avoid adding custom code directly to your parent theme’s functions.php file, as this will be wiped entirely when you update the theme.

/**
 * send Notification admin when a new customer account is created
 */
add_action( 'woocommerce_created_customer', 'woocommerce_created_customer_send_admin_notification' );
function woocommerce_created_customer_send_admin_notification( $customer_id ) {
  wp_send_new_user_notifications( $customer_id, 'admin' );
}

Published by Sumit Singh

I am a well experienced Web Developer from Ahmedabad having 10+ years of experience in PHP & WordPress. Developing sites almost exclusively in WordPress, I quickly went from simple PSD to theme conversions (again calling on my front-end skills) to building increasing complexity in a wide variety of programming languages. More recently I've put my knowledge of WordPress to practical use. I've also built advanced themes for my clients. Specialties: front end developer, front end development, front end coding, front end build, WordPress, WordPress coding, WordPress API, WordPress framework, WordPress theme, WordPress plugin, WordPress development, WordPress developer ■ Website design & development > PHP, HTML, CSS3, Java Script languages ■ WordPress & Woo Commerce design & development (custom or theme based) ■ WordPress & Woo Commerce website conversion to an Android or Apple Apps ■ WordPress theme installing, customization, modifications, maintenance & updates ■ WordPress plugins installation & development [some are listed below] ■ WordPress migration ■ WordPress speed improvement ■ WordPress Malware hack removal & security improving ■ WordPress, Woo Commerce theme & plugins error or issue fixes ■ Complete On-site SEO Solutions & very effective digital marketing: - Set performance indicators for SEO, SEM and SMM - Keyword & market research - Full SEO Audit & Reporting - Social Media Promotion - Email marketing ■ WordPress clients hands-on training ■ HTML website to WordPress website ■ PSD website to WordPress Themes Experience: ─────────── ✓ Avada ✓ Underscore ✓ Enfold ✓ Yithemes ✓ Organic ✓ Betheme ✓ X theme ✓ The 7 ✓ Flatsome ✓ Sahifa ✓ Kallayas ✓ Salient ✓ Divi, and more.. Plugins Experience: ─────────── ✓ Gravity forms ✓ Toolset ✓ WPML ✓ WooCommerce ✓ Essential Grid ✓ Revolution slider ✓Visual composer ✓ Yoast SEO and more...

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Design a site like this with WordPress.com
Get started