Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Custom User Registration

Customize the user registration page with additional validated fields. Hooks right into existing parts of the registration process.

NOTE: All hooks should be placed In your theme's functions.php file.

How do I add extra fields?

  • Use the hook abt_custom_register_fields. Append or replace items in the $fields array with an array of attributes.
  • Specify validation with data-validation. See plugin file for examples of password and name fields.
  • Make sure that, if you're providing default WP fields, that the field names are correct.
function YOUR_register_fields($fields){
    $fields []= array('name'=>'user_url', 'type'=>'text', 'class'=>'input url', 'size'=>20, 'label'=>'Your Website', 'data-validation'=>'url');
    $fields []= array('name'=>'aim', 'type'=>'text', 'class'=>'input social-client', 'size'=>20, 'label'=>'AIM', 'data-validation'=>'alphanumeric');
    // set name required
    $fields[3]['data-validation'] = array('required', 'string');
    return $fields;
add_filter('abt_custom_register_fields', 'YOUR_register_fields');

How do I change the email?

** Headers **:

function YOUR_register_email_headers($headers){
    $headers []= 'Bcc:youremail@domain.com';
    return $headers;
add_filter('abt_custom_register_email_headers', 'YOUR_register_email_headers');

** Template **: Just copy email-signup.tpl.php from the plugin folder to your theme folder. Or use the hook abt_custom_login_email_templates.

How do I customize my thank-you message?

On your custom thank-you page, add something like the following:

    // check if we had a successful signup - indicated by a notification in session
        $referer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : NULL;
        if( false !== strpos($referer, 'action=register')
            || (
                true === ABT_Custom_User_Access::flash_var('notification')
                <p>Thank you for registering!  Please check your email for a confirmation message.</p>
                // clear the flash message

Requires: 3.0 or higher
Compatible up to: 3.3.2
Last Updated: 5 years ago
Active Installs: 100+


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.