signup_nonce_fields

Add a nonce field to the signup page.

Description

signup_nonce_fields(); 

Usage

  1. if ( !function_exists( 'signup_nonce_fields' ) ) { 
  2. require_once ABSPATH . WPINC . '/ms-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = signup_nonce_fields(); 
  7.  

Defined (1)

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

/wp-includes/ms-functions.php  
  1. function signup_nonce_fields() { 
  2. $id = mt_rand(); 
  3. echo "<input type='hidden' name='signup_form_id' value='{$id}' />"; 
  4. wp_nonce_field('signup_form_' . $id, '_signup_form', false);