wpseek.com
A WordPress-centric search engine for devs and theme authors



signup_nonce_fields › WordPress Function

Since
Deprecatedn/a
signup_nonce_fields ( No parameters )
Defined at:
Codex:
Change Log:
  • MU

Adds a nonce field to the signup page.



Source

function signup_nonce_fields() {
	$id = mt_rand();
	echo "<input type='hidden' name='signup_form_id' value='{$id}' />";
	wp_nonce_field( 'signup_form_' . $id, '_signup_form', false );
}