signup_hidden_fields

The WordPress Core signup hidden fields hook.

Description

add_action( 'signup_hidden_fields', (string) $signup_nonce_fields ); 

Parameters (1)

0. $signup_nonce_fields (string) => 'signup_nonce_fields'
The signup nonce fields.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'signup_hidden_fields', $signup_nonce_fields ); 
The following example is for adding a hook callback.
  1. // define the signup_hidden_fields callback 
  2. function action_signup_hidden_fields( $signup_nonce_fields ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'signup_hidden_fields', 'action_signup_hidden_fields', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'signup_hidden_fields', 'action_signup_hidden_fields', 10, 1 ); 

Defined (4)

The action is defined in the following location(s).

/wp-includes/ms-default-filters.php  
  1. add_action( 'signup_hidden_fields', 'signup_nonce_fields' ); 
/wp-signup.php  
  1. do_action( 'signup_hidden_fields', 'create-another-site' ); 
  1. do_action( 'signup_hidden_fields', 'validate-user' ); 
  1. do_action( 'signup_hidden_fields', 'validate-site' );