Hello arustad,
The nonce field is used to validate that the contents of the form request came from the current site and not somewhere else.Like this you can check:
if (
! isset( $_POST['name_of_nonce_field'] )
|| ! wp_verify_nonce( $_POST['name_of_nonce_field'], 'name_of_my_action' )
) {
print 'Sorry, your nonce did not verify.';
exit;
}
Thanks
I understand what it is, I just do not know how to check if it is working correctly.
What are you building – a theme or a plugin?
A plugin, it is for a multi-site, the form will hold a private key so I am trying to throw the book at it for security.