signup_extra_fields WordPress Action Hook

The signup_extra_fields hook allows you to add extra fields to the WordPress user registration form. This can be useful for gathering additional information about your users, such as their social media handles or preferred contact method.

do_action( 'signup_extra_fields', WP_Error $errors ) #

Fires at the end of the new user account registration form.


Parameters

$errors

(WP_Error)A WP_Error object containing 'user_name' or 'user_email' errors.


Top ↑

Source

File: wp-signup.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.0.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.