wp_nonce_tick

Advertisement

Summery Summery

Returns the time-dependent variable for nonce creation.

Syntax Syntax

wp_nonce_tick()

Description Description

A nonce has a lifespan of two ticks. Nonces in their second tick may be updated, e.g. by autosave.

Return Return

(float) Float value rounded up to the next highest integer.

Source Source

File: wp-includes/pluggable.php

	}
endif;

if ( ! function_exists( 'wp_nonce_tick' ) ) :
	/**
	 * 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.
	 *
	 * @since 2.5.0
	 *

Advertisement

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.