signup_hidden_fields WordPress Action Hook
The signup_hidden_fields hook allows you to add hidden fields to the user registration form. This can be useful for creating extra user meta fields or for pre- filling form fields with default values.
do_action( 'signup_hidden_fields', string $context ) #
Hidden sign-up form fields output when creating another site or user.
Parameters
- $context
(string)A string describing the steps of the sign-up process. The value can be 'create-another-site', 'validate-user', or 'validate-site'.
Source
File: wp-signup.php
Changelog
Version | Description |
---|---|
MU (3.0.0) | Introduced. |