wpseek.com
A WordPress-centric search engine for devs and theme authors



nonce_life › WordPress Filter Hooks

Since6.1.0
Deprecatedn/a
apply_filters( 'nonce_life', DAY_IN_SECONDS, $action )
Parameters: (2)
  • (int) $lifespan Lifespan of nonces in seconds. Default 86,400 seconds, or one day.
    Required: Yes
  • (string|int) $action The nonce action, or -1 if none was provided.
    Required: Yes
Defined at:
Codex:

Filters the lifespan of nonces in seconds.





Source

$nonce_life = apply_filters( 'nonce_life', DAY_IN_SECONDS, $action );