How to capture first and last name

The WordPress Utilities extension lets you capture your website sign ups into your Zero BS CRM contact list. This is perfect if you use the WordPress users for your general website needs (e.g. sign up, the even ask them to pay, like in a membership)

By default though, WordPress does not ask users for their first name and last name (just a username and email) but the code snippet below will allow you to add first and last name to the standard WordPress sign up form (i.e. found at wp-login.php?action=register)

You can find the snippet on our GitHub code examples page here.

When doing this, it’s important to change your_prefix to something unique to your website

Updated on December 2, 2018

Was this article helpful?

Add A Comment

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