wp_nonce_tick
wp_nonce_tick ( $action = -1 )
Parameters:- (string|int) action Optional. The nonce action. Default -1.
Returns:- (float) Float value rounded up to the next highest integer.
Defined at:Change Log: - Introduced in WordPress: 2.5.0
- Deprecated in WordPress: —
Description
Returns the time-dependent variable for nonce creation.A nonce has a lifespan of two ticks. Nonces in their second tick may be
updated, e.g. by autosave.