{CODICTS} Snippets is now available

WordPress Notify New Accounts

The {CODICTS} Notify New Accounts plugin sends customizable admin email notifications whenever a new user registers on your site. Choose exactly which user data fields appear in the email and filter notifications by user role so you only hear about the registrations that matter to you.

Note: Unlike most CoDicts plugins, this plugin does not require the MyListing theme. It works with any WordPress installation and any theme.

Installation & Activation

Start by downloading the plugin from the Downloads page on your dashboard on the CoDicts website.

After downloading, install and activate the plugin in WordPress by navigating to “Plugins” > “Add New” > “Upload Plugin” and selecting the downloaded zip file. Click “Install Now” and then “Activate”.

Once activated, navigate to Settings → {CoDicts} Notify New Accounts to configure which user fields to include in notification emails and which roles to filter by.


Key Features

FeatureDescription
Custom Email FieldsChoose which user data fields appear in the admin notification email using simple checkboxes.
Role-Based FilteringOnly receive notifications for registrations from selected user roles. Leave empty to get notified about all registrations.
WooCommerce AwarenessAutomatically detects WooCommerce and hooks into its customer creation process for seamless integration.
HTML Email FormatNotifications are sent in HTML format for clean, readable emails.
Works with Any ThemeNo theme dependency — works on any WordPress site.

How It Works

By default, WordPress sends a basic email to the site administrator when a new user registers. This plugin replaces that email with a customized version containing only the user data fields you’ve selected.

1. A new user registers on your site (via WordPress registration or WooCommerce account creation).

2. The plugin checks whether the new user’s role matches your role filter (if configured).

3. If the role matches (or no filter is set), the plugin builds a custom HTML email containing only the fields you’ve checked in the settings.

4. The email is sent to your site’s administration email address (configured in Settings → General).

Empty fields are automatically omitted from the email.


Settings

Navigate to Settings → {CoDicts} Notify New Accounts in the WordPress admin.

User Field Checkboxes

Check the fields you want included in the notification email:

FieldDescription
LoginThe user’s username.
First NameThe user’s first name (if submitted by the registration form).
Last NameThe user’s last name (if submitted by the registration form).
EmailThe user’s email address.
Display NameThe user’s display name (if submitted by the registration form).
RegisteredThe date and time of registration.
DescriptionThe user’s bio/description (if submitted by the registration form).
RoleThe user’s assigned role (e.g., Subscriber, Customer).

Only checked fields with non-empty values appear in the email. If a field has no data (e.g., the registration form didn’t include a “first name” field), it is automatically omitted.

Role-Based Filtering

SettingDescriptionDefault
Receive registration emails from these user rolesA multi-select dropdown listing all user roles. When one or more roles are selected, notification emails are only sent when a user registers with one of the selected roles.Empty (all roles trigger notifications)

Leave this field empty to receive notification emails for all new user registrations, regardless of role.


Setting Up Notifications

1. Navigate to Settings → {CoDicts} Notify New Accounts.

2. Check the fields you want to see in the notification email. For example, you might check Login, Email, First Name, and Role.

3. Optionally, select one or more user roles in the role filter. For example, selecting only “Customer” means you’ll only be notified when a new customer registers — not when an administrator or editor account is created.

4. Click “Save Changes”.

The next time a user registers (matching your role filter, if set), you’ll receive a formatted HTML email at your site’s administration email address containing the fields you selected.


Email Example

If you’ve checked Login, Email, First Name, and Role, the notification email looks like:

Subject: [My Site] New User Registration.

New User Registration

login: johndoe
email: john@example.com
first name: John
role: Subscriber

Each field is displayed as a bold label followed by the value. Empty fields are automatically omitted.


WooCommerce Compatibility

The plugin automatically detects whether WooCommerce is active:

WooCommerce StatusBehavior
Not installed / Not activeThe plugin hooks into WordPress’s standard user_register action, which fires when any new user is created.
ActiveThe plugin hooks into WooCommerce’s woocommerce_created_customer action instead, which fires when a customer account is created through WooCommerce (checkout, My Account registration, etc.).

No configuration is needed — the plugin switches automatically based on whether WooCommerce is present.


Frequently Asked Questions

Does this plugin require WooCommerce?

No. WooCommerce is optional. Without WooCommerce, the plugin uses WordPress’s standard registration hook. With WooCommerce, it automatically switches to the WooCommerce customer creation hook.

Does this require the MyListing theme?

No. Unlike most CoDicts plugins, this one works with any WordPress theme.

Who receives the notification email?

The site’s administration email address, as configured in Settings → General → Administration Email Address. The plugin does not support custom recipient addresses.

Does this plugin send emails to the new user?

No. The plugin only customizes the admin-facing notification. The email sent to the new user (welcome email) is not affected.

What happens if I don’t check any fields?

The notification email will be sent with only the header text “New User Registration” and no field data.

What happens if I don’t select any roles in the role filter?

Notifications will be sent for all new user registrations, regardless of role. This is the default behavior.

Why are some fields empty in the email?

Some fields (first name, last name, display name, description) are read from the registration form submission. If your registration form doesn’t include those fields, they won’t have data. For example, the default WordPress registration form only asks for username and email — it doesn’t include first name or last name fields.

Does this work with custom registration forms?

Yes, as long as the registration form ultimately creates users via WordPress’s standard user creation functions or WooCommerce’s customer creation process. Fields like first name and last name will only be included if the custom form submits them.

Where is the settings page?

WordPress Admin → Settings → {CoDicts} Notify New Accounts.


Troubleshooting

Not Receiving Notification Emails

CauseSolution
Role filter is too restrictiveCheck the role filter setting. If specific roles are selected, only registrations with those roles trigger emails. Clear the selection to receive notifications for all roles.
WordPress email not workingThe plugin uses WordPress’s built-in email system. If your site isn’t sending emails at all, install an SMTP plugin (e.g., WP Mail SMTP) to configure reliable email delivery.
Email going to spamHTML emails from WordPress can sometimes be flagged as spam. An SMTP plugin with proper authentication (SPF, DKIM) can help with deliverability.
Plugin not activatedVerify the plugin is active in Plugins → Installed Plugins.

Fields Missing from the Email

CauseSolution
Field not checked in settingsGo to the settings page and check the checkbox for each field you want included.
Registration form doesn’t submit the fieldSome fields (first name, last name, display name, description) are only included if the registration form actually submits them. The default WordPress registration form only includes username and email.
Field value is emptyEmpty fields are automatically omitted from the email. If the user didn’t fill in a field, it won’t appear.

Role Filter Dropdown Not Rendering Properly

CauseSolution
No internet connectionThe role filter dropdown uses the Select2 library loaded from a CDN. Ensure the admin computer has an internet connection for the enhanced dropdown to render. The basic HTML multi-select still functions without it.

For further support, visit codicts.com or contact us at support@codicts.com.

CoDicts Co., Ltd. © 2021-2026. All rights reserved