W3cubDocs

/WordPress

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

File: wp-includes/pluggable.php

View on Trac

Changelog

Version Description
2.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/nonce_life