Un motore di ricerca WordPress per sviluppatori e autori di temi



signup_nonce_fields ›

Da3.0.0
Deprecaton/a
signup_nonce_fields ( Nessun parametro )
Definito a:
Codex:
ChangeLog:
  • MU

Add a nonce field to the signup page.



Sorgenti

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 );
}