signup_user_meta WordPress Filter Hook
The signup_user_meta hook is used to add extra user fields to the user registration form. This hook is called when the user registration form is displayed.
apply_filters( 'signup_user_meta', array $meta , string $user , string $user_email , string $key ) #
Filters the metadata for a user signup.
Description
The metadata will be serialized prior to storing it in the database.
Parameters
- $meta
(array)Signup meta data. Default empty array.
- $user
(string)The user's requested login name.
- $user_email
(string)The user's email address.
- $key
(string)The user's activation key.
Source
Changelog
Version | Description |
---|---|
4.8.0 | Introduced. |