Nonces are one-time tokens created by WordPress to check various requests, such as adding a comment, deleting a post, deleting a user, etc.
They are not stored anywhere, and they should not be.
Take the following example; when managing content in WordPress, the Bin link might look something like this:
http://www.example.com/wp-admin/post.php?post=1337&action=trash&_wpnonce=369f188682
However, if you tried to change the page / message identifier in the URL to something else (see below), then nonce will no longer be valid, will return a 403 error and display: "Are you sure? Do you want to do this?"
http://www.example.com/wp-admin/post.php?post=9100&action=trash&_wpnonce=369f188682
Adding the _nonce hidden field (take Contact Form 7 as a basic example) is generally a good practice when embedding forms in WordPress because it prevents cross-site request forgery (CSRF), etc.
Resources
bluemwhitew
source share