DAY_IN_SECONDS = 24 * 60 * 60
Defines days in seconds.
mainwp_do_not_have_permissions(string $where = '', boolean $echo = true) : string|boolean
Detect permission level & display message to end user.
Defines weather or not to echo error message.
wp_verify_nonce(string $nonce, string|integer $action = -1) : false|integer
Verify that correct nonce was used with time limit.
The user is given an amount of time to use the token, so therefore, since the UID and $action remain the same, the independent variable is the time.
Nonce that was used in the form to verify.
Should give context to what is taking place and be the same when nonce was created.
False if the nonce is invalid, 1 if the nonce is valid and generated between 0-12 hours ago, 2 if the nonce is valid and generated between 12-24 hours ago.