A WordPress-centric search engine for devs and theme authors



nonce_life ›

Since2.5.0
Deprecatedn/a
apply_filters( 'nonce_life', DAY_IN_SECONDS )
Parameters:
  • (int) $lifespan Lifespan of nonces in seconds. Default 86,400 seconds, or one day.
    Required: Yes
Defined at:
Codex:

Filters the lifespan of nonces in seconds.





Source

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