Verify that correct nonce was used with time limit.
(string) $nonce Nonce that was used in the form to verify
(string|int) $action Should give context to what is taking place and be the same when nonce was created.
(bool) Whether the nonce check passed or failed.
Wordpress Reference URL: