apply_filters( 'nonce_life', int $lifespan )
Filters the lifespan of nonces in seconds.
Parameters
- $lifespan
-
(int) Lifespan of nonces in seconds. Default 86,400 seconds, or one day.
Source
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/nonce_life